904d3726d4f72178d3df77da398ab055c66577fd |
|
05-Oct-2012 |
Jake Hamby <jhamby@google.com> |
Allow disconnected BT profiles to be unchecked in Settings. In the Bluetooth profile list, the checkbox indicates whether the profile is preferred (we should auto connect). If the profile is not connected, selecting it will try to connect the profile and set it to preferred. If the profile can't be connected, then the user could not turn off the preferred setting for the profile. Change the behavior so that when a profile is not connected, but is marked as preferred, selecting the profile will turn off the preferred setting (no auto connect) instead of trying to connect. This enables the user to turn off auto connect for a profile when it can't be connected. Tapping a second time will try to connect the profile and set it as preferred, as usual. Also change PanProfile to return the current connection status for isPreferred() instead of always returning true. Currently, the PAN profile is always checked, which is confusing because it looks like PAN is always connected. Also, because of the new behavior when a profile is selected, it's now necessary to return false for isPreferred() when PAN isn't connected, so that we will try to connect when the user selects it, instead of trying to turn off the preferred setting, which isn't supported for PAN. Bug: 7007641 Change-Id: Ifb0f51a15379bc254933168c43bdfc8b22f26051
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
|
c78d71e16c4413180f79182c8e246d70928c2442 |
|
22-May-2012 |
Kausik Sinnaswamy <kausik@broadcom.com> |
Revert "Changes done to update UI with appropriate checkbox state, when AVRC Connect is initiated from the headset. Earlier, the checkbox state was not being updated when the connection state changed for media audio, when connected from headset" This reverts commit 2f9d962940cb92c7f70576a29f263258f6abc478
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
|
c7b490c7a03dff00faf859d6aba3440b6a3921d5 |
|
16-May-2012 |
Sreenidhi T <nidhit@broadcom.com> |
Changes done to update UI with appropriate checkbox state, when AVRC Connect is initiated from the headset. Earlier, the checkbox state was not being updated when the connection state changed for media audio, when connected from headset Change-Id: Ic46a8a87b74cbe76f0e8b62428516af5594526ec
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
|
f5754a078c3a8506d2320375e74fefdddd560637 |
|
28-Oct-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Fix UI issue with Bluetooth Settings. When a profile fails to connect, the preference was getting unset. Patch generated in conversation with Jake Hamby. Bug: 5526404 Change-Id: I27ab8d337b6d121f8d369841d3f9a691293ef922
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.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/DeviceProfilesSettings.java
|
298365bbf3e2203aa94e8c2a69a0f5ab7623f0e2 |
|
18-Jul-2011 |
jhtop.kim <jhtop.kim@samsung.com> |
Bluetooth : Fix for changing the BT device icon if the calss is null (mouse) - mouse is displayed as keyboard. if class is null, default icon is keyboard in hid profile Change-Id: I2ff928ce1032d8eb492d81fff2e7fb218970b768 Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
|
01525c9a05ad4e6c7488f01c9879f47f07dcf728 |
|
17-Jul-2011 |
jhtop.kim <jhtop.kim@samsung.com> |
Bluetooth : fix to finish deviceprofilesettings activity when device is not bonded - if cached device state is "BluetoothDevice.BOND_NONE" then finish activity Change-Id: I5c981e8c4800c10f1f8570668794301d5da03188 Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
|
5ab6b6b004d50c67ace6f025c4926cd4c4b5e964 |
|
15-Jul-2011 |
jhtop.kim <jhtop.kim@samsung.com> |
Bluetooth : fix UI bug: Disable "OK" button if friendly name is null - If device's name is null, BT address is set as friendly name. - so, fixed. if name field is null "OK" button is disabled. Change-Id: I04b59ebf13d1b3203acf7345bd531cc6c563da0d Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.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/DeviceProfilesSettings.java
|
c777ee29c856e1d1a2a61ccd799b6e18b50febdc |
|
05-Mar-2011 |
Jake Hamby <jhamby@google.com> |
Improve Bluetooth tethering UI usability. - Updated hint text for BT tethering checkbox to "[Sharing|not sharing] this [tablet|phone]'s mobile data connection". - Show correct hint text when user enters tethering screen. - Show correct status after user enables tethering when Bluetooth is off. When BluetoothPan.setBluetoothTethering(true) is called with BT off, BluetoothPanProfileHandler will add a broadcast receiver to enable tethering after BT turns on. This happens too late to show the correct status when TetherSettings gets the adapter state changed event, so set a flag (mBluetoothEnableForTether) instead, and call setBluetoothTethering ourselves after the state changes to ON. Also, clear the flag if the adapter state changes to OFF or ERROR. - Show correct status when user enables tethering, then disables Bluetooth, then returns to the tethering screen. Previously it would show Bluetooth tethering enabled, even though adapter state was OFF. - Show the number of connected devices in tethering preference screen. - Distinguish between PANU and NAP in device profiles screen, and show appropriate text to clarify the direction of tethering. - Remove profiles from device profiles list when the device removes the UUID (e.g. Mac OS X turning NAP on/off) and after a NAP disconnection when the remote device only supports PANU. Bug: 3414575 Change-Id: I2c0830876d5b9bddb293e57c4d3ca74f105911b8
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.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/DeviceProfilesSettings.java
|
51cd0d6d29c8f8f5320968f778b04b448984abc8 |
|
25-Jan-2011 |
Jake Hamby <jhamby@google.com> |
Remove "Allow incoming file transfers" option from BT settings. The user preference to allow automatic incoming file transfers for specific devices isn't implemented yet. Remove the preference from the settings UI. Bug: 3385941 Change-Id: Ib8fee9a0d99063a8c05d52a960664364e4812ace
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
|
55b7d27936f39c2d6e609c15b1086e9698dbbcfd |
|
12-Jan-2011 |
Jake Hamby <jhamby@google.com> |
Only show "Allow incoming file transfer" option if device supports OPP In the Bluetooth profiles settings screen for a device, the "Allow incoming file transfer" item should only be shown if the device supports the Object Push Profile. Bug: 3297633 Change-Id: I4bbe66ef901feef9dd8a3916fb9827120c1fdfc0
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.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/DeviceProfilesSettings.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/DeviceProfilesSettings.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/DeviceProfilesSettings.java
|
e79f990490de49b39097433707c2bae6d8238330 |
|
03-Nov-2010 |
Jake Hamby <jhamby@google.com> |
Implement individual Bluetooth profile connect/disconnect. Allow individual Bluetooth profiles to be connected/disconnected from the device's settings pane. Bug: 3137982 Change-Id: I21512c5bf965fc523f3dc1e83d029b16b5e22440
/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.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/DeviceProfilesSettings.java
|