summaryrefslogtreecommitdiffstats
path: root/remoting/resources
diff options
context:
space:
mode:
authorsolb@chromium.org <solb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-07 19:31:13 +0000
committersolb@chromium.org <solb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-07 19:31:13 +0000
commit58e2e5179a9fdab25b21f72fe0a7124c81626a2a (patch)
tree69c9c11f225e53216d8f840bbf7bfdb570750a32 /remoting/resources
parent394945bf154a16f07fe8c99af1222f2cbf3f445f (diff)
downloadchromium_src-58e2e5179a9fdab25b21f72fe0a7124c81626a2a.zip
chromium_src-58e2e5179a9fdab25b21f72fe0a7124c81626a2a.tar.gz
chromium_src-58e2e5179a9fdab25b21f72fe0a7124c81626a2a.tar.bz2
Enable Android support for Chromoting PINless (paired) authentication
No more typing all those annoying passwords! This also fixes an annoying bug where right-click events were often misplaced. Review URL: https://chromiumcodereview.appspot.com/21554002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/resources')
-rw-r--r--remoting/resources/layout/pin_dialog.xml15
-rw-r--r--remoting/resources/strings.xml1
2 files changed, 16 insertions, 0 deletions
diff --git a/remoting/resources/layout/pin_dialog.xml b/remoting/resources/layout/pin_dialog.xml
new file mode 100644
index 0000000..b8bd552
--- /dev/null
+++ b/remoting/resources/layout/pin_dialog.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent">
+ <EditText android:id="@+id/pin_dialog_text"
+ android:inputType="numberPassword"
+ android:imeOptions="actionDone"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"/>
+ <CheckBox android:id="@+id/pin_dialog_check"
+ android:text="@string/pin_entry_pair"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"/>
+</LinearLayout>
diff --git a/remoting/resources/strings.xml b/remoting/resources/strings.xml
index 84a57a8..949a2aa 100644
--- a/remoting/resources/strings.xml
+++ b/remoting/resources/strings.xml
@@ -13,6 +13,7 @@
<string name="progress_title">Starting remote desktop session</string>
<string name="pin_entry_title">Authenticate to host</string>
<string name="pin_entry_message">Enter the host\'s PIN</string>
+ <string name="pin_entry_pair">Don\'t ask in the future</string>
<string name="pin_entry_connect">Connect</string>
<string name="pin_entry_cancel">Cancel</string>