diff options
author | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-13 16:28:02 +0000 |
---|---|---|
committer | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-13 16:28:02 +0000 |
commit | 61a980054a1115cdf9736eb47defe2382e9e74fc (patch) | |
tree | 2e26189bf8fc323ce4802147ebc132523a77f32c /remoting/android | |
parent | a27a00e38fc32ea08d7e3e7e672618e1edc2e871 (diff) | |
download | chromium_src-61a980054a1115cdf9736eb47defe2382e9e74fc.zip chromium_src-61a980054a1115cdf9736eb47defe2382e9e74fc.tar.gz chromium_src-61a980054a1115cdf9736eb47defe2382e9e74fc.tar.bz2 |
Add Disconnect menu-item to Android Chromoting client
BUG=333129
Review URL: https://codereview.chromium.org/135353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/android')
-rw-r--r-- | remoting/android/java/src/org/chromium/chromoting/Desktop.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/android/java/src/org/chromium/chromoting/Desktop.java b/remoting/android/java/src/org/chromium/chromoting/Desktop.java index b1f18e5..c3131a8 100644 --- a/remoting/android/java/src/org/chromium/chromoting/Desktop.java +++ b/remoting/android/java/src/org/chromium/chromoting/Desktop.java @@ -60,6 +60,9 @@ public class Desktop extends Activity { case R.id.actionbar_hide: getActionBar().hide(); return true; + case R.id.actionbar_disconnect: + JniInterface.disconnectFromHost(); + return true; default: return super.onOptionsItemSelected(item); } |