fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling.
commit3cc31f89787e435c893b38a0adc0a23f566ab60f
authorAndrzej Hunt <andrzej.hunt@collabora.com>
Tue, 10 Dec 2013 19:52:33 +0000 (10 19:52 +0000)
committerAndrzej Hunt <andrzej.hunt@collabora.com>
Tue, 10 Dec 2013 20:03:12 +0000 (10 20:03 +0000)
tree3ae096ae825c9d02bc86b463fdbc49cbb91cf11a
parenta5ad6e750b58d07d9edbcc3ee31735bdcb05e4b5
fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling.

We should only enable bluetooth with explicit approval of the user, see:
http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#enable%28%29

We now also display an appropriate message if bluetooth is disabled.

Change-Id: Ic3a07c9ad0806a60ac7c7e609a30add7af18916f
android/sdremote/res/values/strings.xml
android/sdremote/src/org/libreoffice/impressremote/activity/ComputersActivity.java
android/sdremote/src/org/libreoffice/impressremote/communication/BluetoothServersFinder.java
android/sdremote/src/org/libreoffice/impressremote/fragment/ComputersFragment.java
android/sdremote/src/org/libreoffice/impressremote/util/BluetoothOperator.java
android/sdremote/src/org/libreoffice/impressremote/util/Intents.java