History log of /packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/BluetoothDevicePreference.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/BluetoothDevicePreference.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/BluetoothDevicePreference.java
3a5b3494a7543c1ddb66c6f630856c3aace03f0a 02-Jun-2011 Amith Yamasani <yamasani@google.com> Make the BT class icon visible.

This change is required due to a change in the framework to accomodate smaller screen sizes.

Bug: 4519989
Change-Id: I77c5d72b29dec69df2bdd4d82811f4828ad155a6
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
50e0b0cf87f724d25ada10353867f14ebbf644aa 04-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Fix settings app not showing correct profile connection state message.

Bug:3385085
Change-Id: Ie4b7eb6bc9d8c91264cf7f68d7830c110e34496d
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.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/BluetoothDevicePreference.java
3d1fd57e3063d9501266dc46e13df63eb4ba685a 28-Jan-2011 Jake Hamby <jhamby@google.com> Increase size of BT profile icons and decrease alpha for inactive profiles

Increase the size of the Bluetooth profile icons from 20dp to 30dp.
Decrease the alpha for disabled profile icons to 50% of theme default.

Bug: 3400851
Change-Id: Ieb5ecb01ccbd7185d383828e0d9c9f78525ee0c4
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
39ef225e7c44a48aa9cfdf5c56ecd4ddfb95ae89 17-Dec-2010 Jake Hamby <jhamby@google.com> Enable reverse tethering in BT settings screen.

- Enable support for reverse tethering in BT settings.
- Add string resource for "Auto connect" preference.
- Remove unused imports and other minor cleanups.
- Add isConnectable() and isAutoConnectable() methods to Profile
enum type and remove isConnectableProfile() method.

Change-Id: Ie606db04028a8278e98231f0671a388671f2f067
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
c090feb64f674d9840993736a24f9667f8b0e0d5 08-Dec-2010 Jake Hamby <jhamby@google.com> Implement BT settings functionality for new UI.

- Removed context menu logic for long press (no longer used).
- Converted device picker to run in its own Activity, using a dialog
theme on large screen devices and full-screen on phones.
- Removed unused resources.
- Add device to "Paired devices" list when pairing is initiated by the
remote device.
- Return to Bluetooth settings pane after successfully pairing a new
device from the "Find nearby device" pane.
- Add support for renaming devices (TODO: persist the custom name and
update the "bread crumb" in the action bar to the new device name).
- Add support for incoming file transfer and auto connect checkboxes
in DeviceProfilesSettings.
- Show available and connected device profiles as icons instead of
summary text. Available but disconnected profiles are drawn in gray.
- Fixed bluetooth_notif_message to include the device name as a parameter
instead of appending the name to the end of the localized string.
- Changed some fields from private to package scope for more efficient
access from inner classes.

Bug: 3137982

Change-Id: Ic2d6ee5be60c9c5b3f3a8a58846d58efedfa5c93
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
43a673053f2e9b1ace7ad9f32a58ae37f3e431d3 18-Nov-2010 Amith Yamasani <yamasani@google.com> Use the new Preference:icon attribute and placeholder for showing icons on the left.
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
48e90002839e662eb1667471aebeb0483e9fb7db 26-Oct-2010 Amith Yamasani <yamasani@google.com> Bluetooth settings revamp

Added a separate scanning screen.
UI changes to not require long-press options.
Needs TODOs to be filled by BT team.

Bug: 3038327
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
32711b6752eb73324e1b10db975ac956888eda96 11-Aug-2010 Danica Chang <danicachang@google.com> bluetooth tethering

Change-Id: I8dfb1c85bb8b963d2937b8bc4a4c9f0cf641785d
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
e6531e253bf646324d3a68de0e9cc612c5e1c8ac 30-Sep-2009 Michael Chan <mchan@android.com> b/2154978 Show only connectable profiles (Headset and& A2DP but not OPP) in Bluetooth Device Advance Options aka "Connect to..."

Change-Id: I34249a4828707bde491da4a82dca94ecf37cf490
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
a41e2f94b792e44872be87f40fce182e6b39f4ba 09-Jul-2009 Yue Lixin <a5206c@motorola.com> Implement Bluetooth device picker

Add Bluetooth device picker in Settings
- add resource to support device picker
- show different UI accroding to start Intent
- add OPP profile manager
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.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/BluetoothDevicePreference.java
5eb32e86a244b7cddde109dc4d2d466553c1a4b7 14-Aug-2009 Michael Chan <mchan@android.com> b/2005377 Fixed the problem where previously paired devics can't be access(grayed out) in Bluetooth settings after a reboot.
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
487843886dc1c822ee568bb0d77e3f78356dfb87 31-Jul-2009 Michael Chan <mchan@android.com> 2005382 Disable long press on Bluetooth device when BT is off
1930418 Grey BT device when BT is off
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
132b21440b1b930322fc129a504afa6107835f8e 01-Jul-2009 Michael Chan <mchan@android.com> Disable the individual remote Bluetooth devices when BT is off
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.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/BluetoothDevicePreference.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/BluetoothDevicePreference.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/BluetoothDevicePreference.java