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/BluetoothDiscoverableEnabler.java
|
ce930c15aec5fcc54ca0e31a0c01680bc1e3e010 |
|
15-Feb-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Crash in Settings observed while changing the device orientation after renamed tablet There was a fundamental flow in the BT code. Basically BluetoothSettings is using a singleton BluetoothDiscoverableEnabler. BluetoothDiscoverableEnabler is keeping (thru its constructor) a reference on a Context for registering/unregistering some broadcast receiver. BUMMER! When you change orientation (or more generally the device Configuration), your Context is no more the same! Hence the crash as we were trying to unregister a Receiver on a Context that is no more valid. Fix that issue by passing an updated Context to the BluetoothDiscoverableEnabler.resume() API. Bug #12991455 Change-Id: I77db15d2b59b6dd973907e26f9e6bb022202a8b5
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.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/BluetoothDiscoverableEnabler.java
|
54313d7d664d81a6d7aa736413670d3827c1e56d |
|
19-Dec-2013 |
Kim Schulz <k.schulz@samsung.com> |
BLuetooth Discoverable timer not correctly cleared Changing the discoverable timer from 2min to infinity before the 2min timer has passed will not clear the 2min timer. This fix handles this case. Bug: 12220031 Change-Id: I8794eda353c74e46b09e15ee9a7a491658e7b5cd
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
b5f144af8ecc1c2f2e45f8a7d936f4ab368fdd97 |
|
29-Jun-2012 |
Matthew Xie <mattx@google.com> |
Clean up codes, fix long lines, improve readability, etc Update copyright date, remove unused variable, import Change-Id: I731c48c8e5b16cbee5230f1d02109f249b8bab5d
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
4bb010a67f80f5224b0777b48abdb08403b87616 |
|
13-Apr-2012 |
Srikanth Uppala <suppala@broadcom.com> |
add discoverability timoeut when set by 3rd party app Change-Id: Ibfd358121f8f9fbbf3b9bc06c5be7b9300e0ba53
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
59a97f7a735fd2e47df8358cdd9276ada9de5386 |
|
04-Apr-2012 |
Srikanth Uppala <suppala@broadcom.com> |
Fix discoverability timeout issues. (a) implement timeout logic (b) persist 'never timeout' after reboot (c) code cleanup Change-Id: Ia7a8611d7212b9201994034d17da1d18e106107b
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
1ecee6c1001880dec4c8f076cc99377a4d082454 |
|
03-Aug-2011 |
jhtop.kim <jhtop.kim@samsung.com> |
Bluetooth : fix for unexpected discovery summary string changing - While Visibility timeout setting is never, the summary string "Visible to all nearby Bluetooth devices" is shown. but if rotating screen or unpairing, pairing actions make the summary be changed "Not visible to other Bluetooth devices" or "Only visible to paired devices" - call handleModeChanged() to refresh summary state. Change-Id: I4b324f2a9530e5e4ca4571f3dd47e8992bdae0cb Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
49cfe8a3c8a15c5ec747cbeecacb50908da8e09b |
|
20-Jul-2011 |
Jake Hamby <jhamby@google.com> |
Fix some Bluetooth settings bugs. - Remove BluetoothFindNearby.java (no longer used) - Show message when Bluetooth is turning off - Fix case where device name sometimes didn't show when turning BT on - Disable "Rename device" and "Visibility timeout" menus when BT is off - Remove "Got onDeviceAdded, but cachedDevice already exists" log message - Never show "Rename device" in action menu (bug 5064378) - Show discovery time remaining as "m:ss", not "mm:ss" (bug 5064104) Bug: 5064378 Bug: 5064104 Change-Id: I79609dfdad61993a28cff64c9e082870ff74d180
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
ca9812a8521fcc483e821fd5a88ec421de0b8f66 |
|
12-Jul-2011 |
Jake Hamby <jhamby@google.com> |
Upgrade Bluetooth pairing dialogs for ICS. * Change Bluetooth pairing dialogs to match ICS wireframes. * Default to numeric soft keyboard for PIN entry, and add checkbox to allow user to switch to alphanumeric keyboard if necessary. * Move all Bluetooth advanced settings into action bar menu. * Toggle visibility by touching "My device" entry in devices list. Change-Id: Ic2377eb4364f41d215181cb1e3933997c9db9106
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.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/BluetoothDiscoverableEnabler.java
|
d955af8461b845a1ce4f9beba9decfc2cffb0966 |
|
02-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Changes for public API of Bluetooth Discoverability. 1. Apps can ask for any time between 0 and 3600 secs 2. O implies always discoverable 3. Any invalid values will default to the defaul - 120 secs. Change-Id: Ife1bc803587ba975bb103a5ba7629d4a382cd705
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.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/BluetoothDiscoverableEnabler.java
|
c5c8dad0afb84bda9495a0aa1f7d6a3db28de5cb |
|
14-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Use new apply() instead of commit(). apply() starts an async disk write and doesn't have a return value but is otherwise identical in observable effects. Change-Id: I0f528607319d7eb5136bb11fce0b24d8741ccdf9
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.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/BluetoothDiscoverableEnabler.java
|
16cc86315d7a8e1f6a0f3083d0a810a7cb097832 |
|
10-Sep-2009 |
Nick Pelly <npelly@google.com> |
Update application for Bluetooth API changes. Change-Id: I8351611f0f0c5eda3e423dbe7e7b53e52d75ac36
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
f4779354b39353a48d0bec6cc5c71fd73e3f369a |
|
09-Sep-2009 |
Nick Pelly <npelly@google.com> |
Update application for Bluetooth API change: deprecation of BluetoothError.
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
ca564d6bdaa56fba60f499e092e1024fff5d1aba |
|
09-Sep-2009 |
Nick Pelly <npelly@google.com> |
Update application for Bluetooth API change.
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
d63c0112251ab4e4e977545368dd703d875012a4 |
|
15-Aug-2009 |
Nick Pelly <npelly@google.com> |
Bluetooth: Update Settings.apk to match BT API change. Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc).
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
91b33f14620519e15507e62192701abed29179a1 |
|
06-May-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Settings app changes for Bluez4.
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
f25063aee3d8eeaf3767b3a4bf43e1895f2deb2d |
|
29-Apr-2009 |
Michael Chan <mchan@android.com> |
Fixed the Bluetooth On/Off Checkbox in settings so it is enabled/disable properly. In the BroadcastReceiver, pickup the new bluetooth status from the intent instead of calling back to LocalBluetoothManager. There could be race condition since LocalBluetoothManager itself gets the same info via the BroadcastReceiver mechanism. Also cleaned up logs.
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
e6dd1fa1851302710ac7845d25d8ad8a5b6ee438 |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
648bf5fd9e099cd677f7609afde831ac446deef0 |
|
09-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137197
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
afc4ab2ffbb8327ddce9907961295a32cbf49d0f |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
4e14e5ccbf1ef27220419849133d482a546d5c04 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
1feaa85791b3b5cc66a16142afc2259a2356bc9e |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
5962e18d0e5741511e78102a3746828b05f9f9ea |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|
abc48f80d8747b4fc051b7dd364355ee667a9bac |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java
|