History log of /packages/apps/Settings/src/com/android/settings/bluetooth/DevicePickerFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3343d1aabbb04619991b7f8a2edb093cc8b1b47e 13-Aug-2013 Maggie Benthall <mbenthall@google.com> Fix bug when sharing to bluetooth.

Bug:10259347
Change-Id: I860a758333947c4207d7acda41e43b8bd1d671df
/packages/apps/Settings/src/com/android/settings/bluetooth/DevicePickerFragment.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/DevicePickerFragment.java
11b69bf86d7b3d8203e24473d4d91424a87bbdc1 08-Apr-2013 Maggie Benthall <mbenthall@google.com> Implement Settings app UX for when a user has bluetooth config locked down.

When a user has the user restriction DISALLOW_CONFIG_BLUETOOTH
- Remove all the menu items for searching and other config
- Hide "available" but non-paired devices
- Remove settings button from paired devices
- Remove ability to make the device visible to others

Change-Id: Icaebf29d3cce55d924fdd65449447b5b7a438bbe
/packages/apps/Settings/src/com/android/settings/bluetooth/DevicePickerFragment.java
de53b46b165ca65a464ecc6f062da55e11050389 07-Sep-2011 Jake Hamby <jhamby@google.com> BT device picker: don't rescan after rotating the device

The Bluetooth device picker was restarting the device scan after
the screen is rotated. Fix this by only starting the scan when the
savedInstanceState Bundle passed to onCreate() is null.

Also removes "No Bluetooth devices were found nearby" from list if
the user switches to a different app and then switches back to
the device picker.

Bug: 5249380
Change-Id: I8959c850649eb713fb930ee0a8a7bcb73ca7c1aa
/packages/apps/Settings/src/com/android/settings/bluetooth/DevicePickerFragment.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/DevicePickerFragment.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/DevicePickerFragment.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/DevicePickerFragment.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/DevicePickerFragment.java