History log of /packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a7aef13fbbe856f928d41b7d956c722403ba76d0 04-Sep-2014 PauloftheWest <paulofthewest@google.com> Fix the truncating of Bluetooth icons.

Bug: 17347150
Change-Id: Iad6bec51bf9327ee0c6752ddaa161aec3b4ff590
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
c0963dd7c5a35fdb007a2954644c1352060350d1 27-Aug-2014 Paul West <paulofthewest@google.com> Revert "Tapping a connected Bluetooth device now presents its settings dialog."

This reverts commit 893be9cc34c37cba64856c8034f39dfbda05a459.

Change-Id: Idefe6a1972ca1130a687632f74051e5b5a2e54e1
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
893be9cc34c37cba64856c8034f39dfbda05a459 24-Aug-2014 PauloftheWest <paulofthewest@google.com> Tapping a connected Bluetooth device now presents its settings dialog.

Bug: 14184769
Change-Id: I1de3110dd7460e0329dbe6df99abf3451d3041cc
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
5badff7622bab2df8c2fb39918b72801d8de3fe8 20-Aug-2014 PauloftheWest <paulofthewest@google.com> Added a default Bluetooth icon for Bluetooth Preferences.

Bug: 17139683
Change-Id: I7b68950685732a85319a0dca7bd77234d345dbb7
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
da43135d7e498f95ad2f2caa4e466b6824a0cd03 18-Jun-2014 PauloftheWest <paulofthewest@google.com> bug #15543626 Bluetooth Settings headers need to support Quantum styling

+ Changed cog to teal
+ Eliminated double vertical bar
+ Removed dimming the cog

Change-Id: I6311408658328b5cc9c7e2846a8ba74a32d1af6e
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
c5f5e937024250380148220bc0a8e291a3929f0a 30-Apr-2014 Zhihai Xu <zhihaixu@google.com> am 3cfb6885: am d6b0b172: am 7dd84651: Merge "Display BTH connected status correctly"

* commit '3cfb6885b4075a3887cb0acb437704394fc9e90e':
Display BTH connected status correctly
89377530c70f757aebdb5b953b73869242994265 18-Dec-2013 Tsuyoshi Kamata <tsuyoshi.x.kamata@sonymobile.com> Display BTH connected status correctly

This patch removes incorrect condition.
(to not use LocalBluetoothProfile#isPreferred())
This condition uses the priority that already disconnected profile,
so this codition always returns false.

To verify this issue:
1. Turn on Bluetooth.
2. Pair and connect to BTH(A2DP/HFP)
3. The display now says "Connected"
3. Disconnect HFP profile
4. The display still says "Connected" but it should say "Connected (no phone)"

Change-Id: I9e2bfa6d23bf1be7587c9556b4b05459d02c4817
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
fa46de5c68f078a595aa61d61ceae6b7951c3aa7 11-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Search - fix remembered Bluetooth devices indexing

We were indexing the remembered device names but we were missing the
informations for launching the correct Activity from the Search result.

- add the missing information: className and iconResId

Change-Id: Ib6781d4c492c296e822da1b5a8a2a76c92ecd586
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java
3b2269567004d47a287e3fc7a711557802424c54 09-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix issue about at which time Bluetooth devices name are indexed

- remembered devices name were only indexed when BT was turned on/off
- allow the same when they are paired
- remove device name from the Index if it is un-paired

Change-Id: I1206a591b0132789c3b003e52c7ffac630e80758
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.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/BluetoothDevicePreference.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/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