History log of /packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ac06fed1d20fc8aadc5ef193164bea054afd7bfe 12-Apr-2016 Jason Monk <jmonk@google.com> Disable animations for bluetooth.

Change-Id: I2aa77d8ce91f81b6704b4f91766ee61c79afb2f8
Fixes: 28135206
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
2de6a287cad72cb7939df3702dabd4aa559fe0c9 28-Mar-2016 Jason Monk <jmonk@google.com> Merge changes I22d799f8,I1bc14e7a into nyc-dev

* changes:
Guard against crash in dev options
Switch to whitelist for animations
f38fb38f26117176ba7b961e960ef5c79e28a152 18-Mar-2016 Jason Monk <jmonk@google.com> Switch to whitelist for animations

Disable animations for all SettingsPreferenceFragments, unless they
explicitly ask for them before creating their preference screens.

Turn it on for all fragments using the cached removal currently.

Bug: 27713314
Change-Id: I1bc14e7aeb3ee5b8ddb4f3547f472305cd312edf
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
38d8fc0f863971d9068daadb7f60aa349095eaab 18-Mar-2016 Jason Monk <jmonk@google.com> Fix bluetooth device forgetting

Bug: 27476922
Change-Id: I8c5b7076a04185371311fb4ff1c1ba0df0df19dc
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
2071eda150c4ade320fa91ec99678114afbd223e 25-Feb-2016 Jason Monk <jmonk@google.com> Workarounds to avoid removing all prefs

Removing all prefs causes ugly animations, so avoid it at all cost
and cache all the prefs (while still added) as long as possible.

Bug: 26271353
Change-Id: I33b84d751938b460f4b66c0158057407dd45d974
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.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/DeviceListPreferenceFragment.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/DeviceListPreferenceFragment.java
88643ac6baeb2079e4a6f3fd11ca74e84573da4e 04-Feb-2015 Jason Monk <jmonk@google.com> Support some changes to SettingsLib

SettingsLib has a couple of bluetooth changes to support quick
settings and as a result a few updates are needed in Settings.

Depends on I7f828f0038ad0cf39274986ece6d486d545f0286
Change-Id: I9b207b74abb0175148fd4a3c421d33ab9a861587
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.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/DeviceListPreferenceFragment.java
f42a0a27e3b67602f63ab138e78fdefde81a40b6 11-Aug-2014 PauloftheWest <paulofthewest@google.com> Refreshing Bluetooth devices will clear all available devices.

Bug: 16851309
Change-Id: I9ffb1ddaeb8e785be145ea79467fc361a022d8d7
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
1a0297c544cb15ed4b56e70575b169b3889543b7 18-Jun-2014 Julia Reynolds <juliacr@google.com> Use restrictionsprovider framework in Settings.

Bug: 15305103

Change-Id: Ib0147e366fe90de3512d0cc06e2a47ee16012dff
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
fe21d9aaa8a8c7f8a759805ba021b59dd821e4fe 03-Aug-2013 Geoffrey Borggaard <geoffreyb@google.com> Pin protect more screens.

When these screens are locked down with user restrictions,
it should prompt the user for the restrictions pin before allowing
access to the settings screen.

Change-Id: Iadbb087da2d9470b855ea0bea89f2da1ffb9e854
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
a17a5b814f1c578df28cd5d444bd8abc3adbbba0 25-Sep-2012 Jeff Brown <jeffbrown@google.com> Fix regression in Bluetooth settings.

Bug: 7207090
Change-Id: Ie14a1d36a61b571766d2025ed7d8079712727690
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
5fb53f36cb77c3d924b3fe5c305ce7d082ecdfb8 28-Feb-2012 Amith Yamasani <yamasani@google.com> Don't crash if there's no bluetooth functionality (such as in an emulator)

Bug: 6079494
Change-Id: I12f729134407eaa719dc6a25e89a3b48476985e2
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
79be0b3e6b5639c4cbe2bbcd9adb0ec4c28716ed 02-Aug-2011 Jake Hamby <jhamby@google.com> Fix multiple BT settings bugs.

- Change Bluetooth profiles screen to match ICS wireframes
- Remove BluetoothProfilePreference.java (no longer used)
- Remove "Pair with this device" summary below every unpaired device
- Remove "Paired but not connected" summary below unconnected paired devices
- Fix auto connection after pairing (reuse existing CachedBluetoothDevice)
- Add "Connected (no phone/media)" summaries based on ICS wireframes
- Fix visibility timeout strings.
- Fix crash when starting Bluetooth from Settings shortcut widget.

Bug: 5064139
Bug: 5064324
Bug: 5080404
Bug: 5093513
Bug: 5104485
Change-Id: Ie87103e183ce414c86cb1831a38ef0178b1b1292
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.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/DeviceListPreferenceFragment.java
4346cda76c6faa69d7341eb5e4e5bf21c2210e7f 28-Jun-2011 Gilles Debunne <debunne@google.com> Double list in Bluetooth Settings

Paired devices are listed first (from cache), followed by unpaired ones.
A scan is only started on user request or when there is no paired device
(should it be when there is no paired *connected* device?).

Wrench icon only displayed for paired devices.

Wrench click listener no longer uses mDeviceSettings which is unreliable
with ListView view recycling.

Fixed blinking ProgressCategory when the category was first in the list.

Change-Id: Ie749883426c12bd354da64733bd04b00304bc1f5
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java
e78c1879058571c00879f0d3e756951302adf513 21-Jun-2011 Gilles Debunne <debunne@google.com> Settings refactoring

Wifi and bluetooth pane refactored, main toggles moved to left pane.

Change-Id: I42ea4cf3bdf24158f3c67e0dea311258206cd78a
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.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/DeviceListPreferenceFragment.java
2748fc24cfeef9a79fc5e29c02a71737def35e6a 13-Jan-2011 Jake Hamby <jhamby@google.com> Close scan screen when pairing and remove device when unpairing.

Close the scan screen after successful pairing, and remove a
device from the list of paired devices after unpairing.

As part of the fix, BluetoothSettings was refactored into a parent
class, DeviceListPreferenceFragment, and three subclasses for each
variant type: BluetoothSettings, BluetoothFindNearby, and
DevicePickerFragment, replacing the checks against mScreenType with
custom logic in the child classes.

Bug: 3325848
Change-Id: If64fddc3ba5b4f1136451491c7d5a1139b696e47
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java