History log of /packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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