History log of /packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a2070edbf2176449c788264980377236eada51cd 26-Jan-2017 Lenka Trochtova <ltrochtova@google.com> RequestPermissionHelperActivity: policy transparency for BT disallowed

Don't try to enable Bluetooth if it was disallowed, show a policy
transparency dialog instead.

Test: manual with CtsVerifier

Bug: 32895313

Change-Id: I9dd535a959b65f172cf2dcdd5483773d4f67366c
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
0cf1298a44d8fa062030e6e6e0d7f27637c48961 02-Sep-2016 Svet Ganov <svetoslavganov@google.com> Update Bluetooth toggle UI to UX spec - settings

Change-Id: I171d3e55e8a480d304e4dc4e0debbd2f3ab27651
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
b06766f129dac138568883110f6d2a085b53445b 23-Jul-2016 Svetoslav Ganov <svetoslavganov@google.com> Add Bluetooth toggle prompts - settings

If permission review is enabled toggling bluetoth on or off
results in a user prompt to collect consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Change-Id: I5ae0c532c92b2c05a91f0d769ca6744002747fca
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
f2982a9ba19340b474bafb6b0bf5832673984e0d 04-Feb-2015 Jason Monk <jmonk@google.com> Move isolatable bluetooth code to SettingsLib

Move the non-ui bluetooth control/tracking code to SettingsLib so
that it can be shared with others.

Mostly just move classes to frameworks/base/packages/SettingsLib,
however a few things had to move around.
- Dock handling had to move back to code still in settings
- Local preference related code had to be moved back to settings
- Added an error flow from SettingsLib to Settings

Depends on I69fd888362c6dbb325f6113b32c4b15cc6a23a41
Bug: 19180466
Change-Id: Ie57fe26a27bbb0adc2ef69e042a05c7290c6a52a
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
17d2124c1ccb1bd46393f70252d06d866646e97d 28-Feb-2014 Wei Wang <weiwa@google.com> Revert "BLE peripheral mode (4/4): Settings change for advertising preference."

This reverts commit eb56b9ccb8fa70a6c567d0bcd02f821e4de4bf7b.

Conflicts:
src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
src/com/android/settings/bluetooth/BluetoothSettings.java
src/com/android/settings/bluetooth/LocalDeviceProfilesSettings.java

Change-Id: I2ce6b9eb0e335ba1b9aa4e1cb61a041f00d9aa87
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
eb56b9ccb8fa70a6c567d0bcd02f821e4de4bf7b 19-Nov-2013 Wei Wang <weiwa@google.com> BLE peripheral mode (4/4): Settings change for advertising preference.

Change-Id: I5721f136267fe25e55f764bb4a6c53acd45b318b
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
95c1003f1c6ea957065fa752d89c9f64b599461c 12-Jun-2012 Jake Hamby <jhamby@google.com> Fix Bluetooth enable dialog to match Android style guide.

When an app requests to enable Bluetooth and/or Bluetooth discovery,
we show a dialog for user confirmation. Remove the dialog title,
update the message text and button labels to be more descriptive,
and use the standard dialog layout instead of a custom layout.

Also fixes the button layout on the Bluetooth permission test app so
that the "Discoverable" button doesn't wrap to two lines.

Bug: 6001468
Change-Id: I731e2f31b4c822395fc3f83584a092550d9ae7d3
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
31c5ec82021271f2e1745a2de37c543e67dcec17 08-Sep-2011 Mike J. Chen <mjchen@google.com> Allows auto dismissing of bluetooth activation dialogs

Create a new overlay boolean that allows products (like Android@Home
ones that have no or minimal display) to not bring up the bluetooth
activation confirmation dialog.

Change-Id: Ib76a26d440ede34cc8a41ffc8b680ca2b20b38ca
Signed-off-by: Mike J. Chen <mjchen@google.com>
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
436b29e68e6608bed9e8e7d54385b8f62d89208e 08-Feb-2011 Jake Hamby <jhamby@google.com> Refactor Bluetooth settings for readability and performance.

Major refactoring of Bluetooth settings classes.
- Moved all functionality from LocalBluetoothManager into new
LocalBluetoothAdapter and LocalBluetoothPreferences, and into
existing classes.
- Refactored functionality from BluetoothEventRedirector into new
BluetoothEventManager class, deleting the original version. New
version uses a HashMap from action Strings to implementers of the
BluetoothEventManager.Handler interface.
- Created new BluetoothDiscoveryReceiver to update shared preferences
timestamp for Bluetooth discovery start/finish. This is the only event
handling we need to do when the settings app is not visible, so it has
its own receiver entry in AndroidManifest.xml. Edits are written using
QueuedWork.singleThreadExecutor(), which BroadcastReceiver knows about
and will wait for completion, eliminating the need for PendingResult.
- Miscellaneous cleanups to code style and logic for readability.
- Pulled some large switch statement code blocks into new methods.
- Changed all Bluetooth state references to the new BluetoothProfile
constants.
- Changed use of deprecated Notification constructor in
BluetoothPairingRequest to use Notification.Builder.
- Moved Utf8ByteLengthFilter helper function from BluetoothNamePreference
into its own class, and moved test cases into the same package.
- Moved all LocalBluetoothProfileManager functionality related to
specific profiles into new top-level classes (A2dpProfile, etc.), all
implementing the LocalBluetoothProfile interface.
- Moved all UI-related methods from CachedBluetoothDevice into the class
that uses the method, or into the static Utils class for shared methods.

Change-Id: I6d49b7f4ae0c7d7dcf62551ee40b51ecb5fe4f47
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
1b0489cb3eb051b2cf18aa2cb3110ff904c9ebe8 02-Feb-2011 Chris Wren <cwren@google.com> Allow users to change the length of Bluetooth discoverability to
be two minues, five minutes, an hour, or forever discoverable.

This addresses the internal bug 2413429:
http://b/issue?id=2413429
and external issue 6348:
http://code.google.com/p/android/issues/detail?id=6348

Original Author: Chris Wren <crwen@google.com>
Modifications done by: Jaikumar Ganesh<jaikumar@google.com>

Change-Id: Ie12e56ac41aa01a161d263c7525b6e021d4eeb1f
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
834e5993e4f2f34d5aceb3196601b30231d00b07 06-Nov-2009 Michael Chan <mchan@android.com> b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth

Also added test app.
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
e1089ad33896f4fe5b75e773813367d700773b6f 26-Sep-2009 Michael Chan <mchan@android.com> b/2142065 Added Bluetooth API to allow developer to request the user's permission to enable discovery mode.

Change-Id: I6da1598661ad05b4cfd2b7cc81e05d3053df5777
/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java