From 38cc47f8b1715525cf4a2ccaab7464e9ed1c734c Mon Sep 17 00:00:00 2001 From: "Siqi LIU (via Code Review)" Date: Fri, 12 Apr 2013 23:49:21 +0000 Subject: fdo#61873 - add WiFi experimental feature alert. fixes reconnect crash. Won't crash when server-end disconnect. seperate Client construction and initialization so that Client() will release its mutex lock and won't block service.run(). Otherwise onBackPressed() will be blocked in PairingActivity Change-Id: I424a470aa02b0c74b28cb9f9ba79489aa0d4ab1b --- android/sdremote/res/layout/activity_reconnect.xml | 12 +++++++++++- android/sdremote/res/layout/dialog_addserver.xml | 12 +++++++++++- android/sdremote/res/values/strings.xml | 6 +++++- 3 files changed, 27 insertions(+), 3 deletions(-) (limited to 'android/sdremote/res') diff --git a/android/sdremote/res/layout/activity_reconnect.xml b/android/sdremote/res/layout/activity_reconnect.xml index 8baa76d1a73f..0d2f8bb75de4 100644 --- a/android/sdremote/res/layout/activity_reconnect.xml +++ b/android/sdremote/res/layout/activity_reconnect.xml @@ -40,7 +40,17 @@ android:gravity="center_horizontal" android:text="@string/reconnect_description2" android:textAppearance="?android:attr/textAppearanceMedium" /> + + - \ No newline at end of file + diff --git a/android/sdremote/res/layout/dialog_addserver.xml b/android/sdremote/res/layout/dialog_addserver.xml index 01ddba28c73c..475aabd6d7a1 100644 --- a/android/sdremote/res/layout/dialog_addserver.xml +++ b/android/sdremote/res/layout/dialog_addserver.xml @@ -3,8 +3,18 @@ android:id="@+id/addserver_root" android:layout_width="match_parent" android:layout_height="match_parent" + android:padding="12dp" android:orientation="vertical" > + + - \ No newline at end of file + diff --git a/android/sdremote/res/values/strings.xml b/android/sdremote/res/values/strings.xml index a08edd1345ae..84edffc8a3f7 100644 --- a/android/sdremote/res/values/strings.xml +++ b/android/sdremote/res/values/strings.xml @@ -7,6 +7,7 @@ Handle to resize view. Blank Screen Options + Reconnect... h:mmaa mm:ss Start @@ -15,6 +16,8 @@ Reset Resume Decline Calls + Help + #1 Verify Impress is running \n#2 For Bluetooth user, enable \"Preference\"-\"LibreOffice Impress\"-\"General\"-\"Enable remote control\"\n#3 For WiFi user, tick \"Preferece\"-\"LibreOffice\"-\"Advanced\"-\"Enable Experimental Features\" \n Automatically decline all incoming calls. Volume Switching Change slides using volume buttons @@ -49,6 +52,7 @@ Add Cancel Your connection has been dropped. - Attempting to reconnect… + Please try to reconnect + This is still an experimental feature. You need to \"enable experimental features\" in \"Preference\"-\"LibreOffice\"-\"Advanced\" on your computer. \nThe use over Bluetooth is recommanded. -- cgit