summaryrefslogtreecommitdiffstats
path: root/packages/SettingsLib/src/com/android/settingslib/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.1_r10' into HEADJessica Wagantall2016-01-051-1/+6
|\ | | | | | | | | Ticket: CYNGNOS-1404 Android 6.0.1 release 10
| * Don't allow contact sharing by default for device not recognized as carkit.Sanket Padawe2015-12-011-1/+6
| | | | | | | | | | | | | | | | + Don't allow contact sharing by default for devices not recognized as carkit at pair time. Bug: 23607427 Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
* | Bluetooth: MAP: Update UI preference MAP disconnect status.Ashwini Munigala2015-12-081-0/+2
| | | | | | | | | | | | | | | | | | | | Update MAP profile disconnect status in bluetooth subSettings menu. Add MAP profile entry in previous cachedBluetoothDevice mProfile list and remove from current mProfile lst. CRs-Fixed: 940352 Change-Id: Ibe53492fe0d5dafd13f4b22236db1430eb88f0f9
* | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-0/+5
|\ \ | |/ | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 3 Change-Id: I59b9e5a943e0860d43bcfb36ee0e8b8b072412ea
| * Add SystemUI component to watch for keyboard attachment.Michael Wright2015-10-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | Add a new SystemUI component to watch for keyboard attachment / detachment. If the config specifies the name of a keyboard that is packaged with the device, then SystemUI will ask the user if they would like to enable BT (if disabled) and then attempt to pair to the device. Bug: 22876536 Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
* | Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-163-3/+17
|\ \ | | | | | | | | | | | | | | | git://codeaurora.org/platform/frameworks/base into cm-13.0 Change-Id: I008f052e4e27b44457c8343d20f6e1ba943c8e1f
| * | Bluetooth: PBAP: Add support for PBAP UI preferenceHemant Gupta2015-11-062-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pach adds support for PBAP UI preference in SettingsLib. Without this change it is not possible to properly use the pbap checkbox preference from Bluetooth subsettings menu. Also some map profile specific bug fixes are also incorporated in this change. Change-Id: I283a0cb65cb132931010fb2f8c977bea20a67951 CRs-Fixed: 758697
| * | Bluetooth: Sync Preference in UI for new cached devicevenkata Jagadeesh2015-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | Create preference in UI also whenever new cached device added. Change-Id: Ib02f953f4dc6e3a74fac70442dc7959504ca9374
* | | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-2/+2
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: cmds/bootanimation/BootAnimation.cpp core/java/android/accounts/AccountManager.java core/java/android/app/AppOpsManager.java core/java/android/os/PowerManagerInternal.java core/java/android/os/storage/IMountService.java core/java/android/provider/Settings.java core/java/com/android/internal/widget/ILockSettings.aidl core/res/res/values-mcc204-mnc12/config.xml core/res/res/values-mcc219-mnc02/config.xml core/res/res/values-mcc730-mnc07/config.xml core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/systemui/doze/DozeService.java packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/pm/PackageManagerService.java services/core/java/com/android/server/power/PowerManagerService.java telecomm/java/android/telecom/Phone.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/RadioAccessFamily.java telephony/java/android/telephony/ServiceState.java telephony/java/android/telephony/SignalStrength.java telephony/java/android/telephony/TelephonyManager.java telephony/java/com/android/ims/ImsCallProfile.java telephony/java/com/android/ims/ImsReasonInfo.java telephony/java/com/android/ims/ImsSuppServiceNotification.aidl telephony/java/com/android/ims/ImsSuppServiceNotification.java telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl telephony/java/com/android/internal/telephony/RILConstants.java Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
| * Bluetooth: Fix profile auto-connect logicAndre Eisenbach2015-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The fix in commit 05e08c3a2f27d5027b34e81b7c0a67e4da7341f6 caused a duplicate connect message to be sent to A2DP devices (and others), causing the A2DP state machine to disconnect a device shortly after connecting it. This patch reverts the relevant part of commit 05e06c that causes the faulty auto-connect behaviour. Bug: 22128169 Change-Id: Ie0dadd5c9583bf2b64a8434a2a3603cb749b21d0
* | PBAP: Disconnect PBAP profile only if connectedHemant Gupta2015-10-061-2/+7
| | | | | | | | | | | | | | | | | | | | This patch is needed to handle the PBAP cases for multicast scenarios. This change will let the disconnection of the PBAP profile with that remote device only which was actually connected via PBAP among all the BT connected devices. Change-Id: I76f6215d1d407d789654e78e448aea5324816a71 CRs-Fixed: 843160
* | Bluetooth: Don't Initiate Connection if UUID not updatedGaurav Asati2015-10-061-0/+22
| | | | | | | | | | | | | | | | | | - if UUIDs are not updated don't initiate profile connection - add new profiles to already existing list - don't delete profiles from the existing list CRs-Fixed: 717840 Change-Id: I7dc4fc693993d96821acb69d5ecaa44857853273
* | BT: Multi A2dp support in Settings App.Gaurav Asati2015-10-061-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The connected sinks are not disconnected from A2dpProfile when new sink is connecting. 2. Also return correct connection status for specific HS. 3. Sets priority for specific HS while disconnecting. Change-Id: I56142d1527aa86d2bb47fb7166b2f3ab451d9b17 Bluetooth: Add support of two A2dp connections. Audio Service will now manage two a2dp connections and makes sure that BT a2dp connections are consistently seen by other applications. The change removes the BD address usage in BT names, and uses a new Strin "BluetoothA2dp" in order to show A2dp connected devices. Change-Id: I59b8f8eff7bbc8033fcd46d0ac21d94ee338ca36
* | Bluetooth: A2DP Sink support for Settings AppAnubhavGupta2015-10-065-3/+265
| | | | | | | | | | | | | | | | | | | | | | - add support for A2DP Sink in Settings App. This will enable connection initiation and updation on Settings App - add framework Apis to support A2DP Sink. Any third party Apps can access A2DP Sink priority of device and playing state of device - add support for key to set priority. This manages priority of device for A2DP Sink profile Change-Id: I9920957e0f20583e1e2d57ca76c2c0bd9dfa0bcf
* | Bluetooth: DUN: Add framework changes to support DUNNitin Shivpure2015-10-062-0/+171
|/ | | | | | | | | | | | | | | | Bluetooth DUN profile APIs added to the framework APIs. As DUN server supports only disconnection of DUN profile level connection this API is implemeted along with other APIs. It registers bluetooth state changed callback with the adapter service,once there is a change in the bluetooth state,it will bind/unbind the DUN service which is implemented in BluetoothExt.APK. DUN service, and other DUN Application layer are implemented in BluetoothExt.APK. CRs-Fixed: 557180 Change-Id: I6ce1204ac6138e28ad7486f2855f0f7444ad3886
* Make default selection for contact sharing to "Checked".Sanket Padawe2015-07-171-1/+1
| | | | | Bug: 22556703 Change-Id: I33343301c4097f0e966f11a8d503ca30949e9a82
* Add Null checks while processing pairing cancel intentSanket Padawe2015-07-091-1/+3
| | | | | | | | | | | | Use case: Exception while handling pairing cancel Intent received 1. Initiate pairing from DUT to remote 2. Power off DUT after getting pairing popup Root Cause:Crash observed in settings application Change-Id: Ia05fe196ecf6a1d4ec26f85b0cf984e23089c728 Fix: Fixed by adding Null check in PairingCancelHandler
* Merge "Make BluetoothEventManager listen to ALIAS_CHANGED" into mnc-devJason Monk2015-06-251-0/+1
|\
| * Make BluetoothEventManager listen to ALIAS_CHANGEDJason Monk2015-06-031-0/+1
| | | | | | | | | | Bug: 20341903 Change-Id: Ibc0836bfd7f033f57ff6ae9c3ccce22fd92595f3
* | Set default PBAP checkbox state to false (checkbox unselected).Sanket Padawe2015-06-181-1/+1
| | | | | | | | | | Bug: 20488109 Change-Id: I6259ea8d048cbface2ba63b8c1077af12d0fee1b
* | Add a missing check for null pointer.Pavlin Radoslavov2015-06-041-1/+5
|/ | | | | | | | | | | | | | | | | | | There is a race condition when processing intents inside PairingCancelHandler.onReceive() that could trigger NPE. A speculative list of events (untested) that could trigger it: 1. Trigger Pairing Cancel for a Bluetooth device. 2. Turn Off Bluetooth This should call CachedBluetoothDeviceManager.onBluetoothStateChanged() and should remove the device from (1) from the list of cached devices 3. BluetoothEventManager.PairincCancelHander.onReceive() receives an intent about about Pairing Cancel event. Within the processing of that intent, cachedDevice.getName() is called without checking whether cachedDevice is null. In this specific example, cachedDevice could be null because of (2) Bug: 21368124 Change-Id: I86f5d5287b440d1d2e0fe147278b1c2257902e95
* Add ability to get device by addressJason Monk2015-06-021-0/+4
| | | | | Bug: 21444336 Change-Id: I003092a12e93e2eccab736e7da20a6a23df30bbf
* Bluetooth PAN: Set isPreferred to true (1/2)Andre Eisenbach2015-06-021-3/+2
| | | | | | | | | | | | | | isPreferred must always be true for PAN so that the DUT can initiate a PANU connection with the remote device not only from the internet access menu in the profile setting, but also from the paired device list menu. Currently isPreferred is only true when PAN is in connected state for the PANU role, so it will return false when the PAN profile is not connected and the PANU connection will never be initiated from the paired device list menu. Change-Id: I120e681a113f56b74b45e01870adf96cdc2ca262
* Fix issue related selecting of "Contact sharing" in BT Settings.Sanket Padawe2015-06-011-1/+3
| | | | | Bug: 20041014 Change-Id: I84b59fdfd82c4bf25965bcb10a15fbff2dfbe721
* SysUI: Move BT receivers to bgJason Monk2015-05-191-3/+12
| | | | | Bug: 19520495 Change-Id: I58e7d023b9eaf67fccd1634e00803c8c8d871fff
* Settings UI for SIM access profile (2/2)Casper Bonde2015-05-052-4/+237
| | | | Change-Id: I2e44a858ee3f3349baa401ee7002186d3ae19412
* Bluetooth: Do not initiate inquiry during pairing/SDPVenkat Raghavan2015-04-061-6/+8
| | | | | | | | | | | | | Retry SDP if it gets cancelled in BONDING state. If SDP search initiated after the pairing gets cancelled, re-initiate SDP search from the BTIF layer to ensure completion of the bonding process. While pairing/SDP discovery of the bonded device is in progress, do not initiate inquiry. Bug: 19417758 Change-Id: I2d80883999771c53b58cc3017a63b17e3564bc57
* Merge (manually) pag/209446: Increase allowed duration to connect to HOGP ↵Etan Cohen2015-04-011-3/+8
| | | | | | | | profile Original file was moved from packages/apps/Settings to frameworks/base. Change-Id: I26912c0461780a255281a135c60cc0da2d25ae5a
* Merge "Make QS use SettingsLib's BT code"Jason Monk2015-03-126-5/+92
|\
| * Make QS use SettingsLib's BT codeJason Monk2015-03-026-5/+92
| | | | | | | | | | | | | | | | | | | | | | A couple of changes needed to be made to SettingsLib to support this. - SettingsLib needed to track ACTION_CONNECTION_STATE_CHANGED - The summary code needed to move from Settings up into SettingsLib - Added a getMaxConnectionState to CachedBluetoothDevice - This simplifies the states of all of the profiles into one. Change-Id: I7f828f0038ad0cf39274986ece6d486d545f0286
* | Remove unused imports in frameworks/base.John Spurlock2015-02-283-11/+0
|/ | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Move non-ui bt settings code to SettingsLibJason Monk2015-02-0518-0/+3720
Mostly this is moving classes from Settings to SettingsLib but there were a few changes to support this separation. - A bunch of things became public rather than package - Moved some settings only code out of these classes - Added error callback to handle errors To see the changes from original classes view the diff against patch-set 1. Bug: 19180466 Change-Id: I69fd888362c6dbb325f6113b32c4b15cc6a23a41