summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Changed PBAP's default permission from allow to UNKNOWN." into lmp-devPauloftheWest2014-08-121-1/+1
|\
| * Changed PBAP's default permission from allow to UNKNOWN.PauloftheWest2014-08-121-1/+1
| | | | | | | | | | Bug: 16956658 Change-Id: Ib08bb873a22b8f6b3fb25172aa8612a132257d66
* | Revert "Add BT message access"PauloftheWest2014-08-122-183/+0
|/ | | | | | | - removed Message Access screen from Bluetooth overflow Bug: 15720425 Change-Id: I68191a4639ea7e6b6cd3a60e88160443fab2ba0e
* Refreshing Bluetooth devices will clear all available devices.PauloftheWest2014-08-123-2/+16
| | | | | Bug: 16851309 Change-Id: I9ffb1ddaeb8e785be145ea79467fc361a022d8d7
* Removed the white icon from Bluetooth rename dialog.PauloftheWest2014-08-111-1/+0
| | | | | Bug: 15538917 Change-Id: I4e3bca9e8ff6c348af22cdfb17ee3b047ae12d2c
* Fixed Bluetooth renaming bug.PauloftheWest2014-08-082-4/+4
| | | | | | | | | | + After renaming your Bluetooth device, the title of the Bluetooth Activity stays "Bluetooth" instead of changing to the new name. + After renaming the device, the status at the bottom Bluetooth Settings is correctly displayed. Bug: 16463239 Change-Id: Ifb12df2004fe1f89bd6f918e23c2c64ae08a0191
* Changed a Bluetooth device's settings from an activity to a dialog.PauloftheWest2014-08-073-103/+112
| | | | | | | | | | | | + Replace the “Paired bluetooth device” screen with a “Pair device” dialog + Add device name text field at the top + Replace “Unpair” list item with a “Forget" button at bottom of dialog + Change “Profiles” section header to “Use for” + Remove status under profile titles + Move checkboxes to left side of labels Bug: 15719219 Change-Id: I3b0e8c82c761fae98f16508b9fd9c58aff651f80
* Bluetooth: Multi HF supportNitin Srivastava2014-08-031-12/+21
| | | | | | | | | | | 1. The connected sinks are not disconnected from HeadsetProfile when new sink is connecting. 2. Also return correct connection status for specific HS. 3. Sets priority for specific HS while disconnecting. bug 16519158 Change-Id: I62c6629cf11129733aab8a835adcd51e014b3860
* Set new PBAP connections to always allow.PauloftheWest2014-07-301-1/+1
| | | | | Bug: 13886947 Change-Id: I6ec612b803433db90992f5e4d1bac26311d90a84
* Added ability for user to automatically accept/deny Bluetooth Phonebook SyncsPauloftheWest2014-07-303-7/+28
| | | | | Bug: 16040292 Change-Id: Ieeaa014052f53787cf7057578e0b2ac048dc6eb1
* Use restrictionsprovider framework in Settings.Julia Reynolds2014-07-232-12/+36
| | | | | | Bug: 15305103 Change-Id: Ib0147e366fe90de3512d0cc06e2a47ee16012dff
* Remove dialog iconsAlan Viverette2014-07-222-5/+0
| | | | | BUG: 16493564 Change-Id: I35ec0a8fc6ce3148b5bf469bfd2b56d0ae6d95ee
* Handle choosing and adding accounts for a managed profileAlexandra Gherghina2014-07-171-2/+3
| | | | | | | The user id can now be passed through the app as a fragment argument. Bug: 15466880 Change-Id: I0e2be20551b4ec8c9226640ac74ea74115156ccd
* Numerous minor updates for Bluetooth SettingsPauloftheWest2014-07-111-46/+19
| | | | | | | | | | | | | | | | | + Remove top "this device" item from the list + Upon opening Bluetooth settings, cue a search for available, pair-ready devices + Upon opening Bluetooth settings, make the phone/tablet visible to other devices + Keep phone/tablet visible as long Bluetooth settings is open and screen is on + Filter this list so that only pair-ready devices are displayed + Add non-interactive text “<Device name> is now visible to nearby devices” at the bottom of the available devices list Overflow menu: - Remove “visibility timeout” + Replace “Search for devices” with “Refresh” Bug: 15716927 Change-Id: I7c5225784af9bfb48dde511e05503ddc59be2b2b
* Add BT message accessPauloftheWest2014-07-112-5/+182
| | | | | | | | | + List available email accounts + Allow for turning each account on/off with switches--making the message content available to bluetooth devices that can read emails (like cars) Bug: 15720425 Change-Id: Ia0c91c1e74a2644fc99a8b902c42212453d8f86e
* bug #15543626 Bluetooth Settings headers need to support Quantum stylingPauloftheWest2014-06-181-1/+1
| | | | | | | | + Changed cog to teal + Eliminated double vertical bar + Removed dimming the cog Change-Id: I6311408658328b5cc9c7e2846a8ba74a32d1af6e
* Fix ProgressCategory theming and layoutFabrice Di Meglio2014-06-172-2/+20
| | | | | | | - add missing constructors for correct theming - fix layout by adding missing paddingStart / paddingEnd Change-Id: I52a511d326b760a47339b2b9dad349c9f825dbd2
* Make the SwitchBar appear immediatelyFabrice Di Meglio2014-06-122-4/+18
| | | | | | | | - change the way the SwitchBar is shown and hidden - save its state - remove the delay transition code Change-Id: I07260430e6709b42517ca011f6d3c3446a626731
* Remove all dialog icons in SettingsAlan Viverette2014-06-101-1/+0
| | | | | BUG: 15474733 Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
* Use SwitchBar for Bluetooth SettingsFabrice Di Meglio2014-05-142-64/+32
| | | | | | | | - follow up CL to 41937766981423c9252e12e3319b2e7532739627 Related to bug #14898161 On/Off switches must move down from Action Bar Change-Id: Ic04de39599c91388cba8510bfd46d96e7bc30260
* Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERSFabrice Di Meglio2014-05-131-4/+2
| | | | | | | | - the EXTRA_NO_HEADERS flag as no more meaning as we are showing the Tiles (previously named "Headers") only in the Dashboard (which is the main Settings screen) Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
* am 3cfb6885: am d6b0b172: am 7dd84651: Merge "Display BTH connected status ↵Zhihai Xu2014-04-301-1/+1
|\ | | | | | | | | | | | | correctly" * commit '3cfb6885b4075a3887cb0acb437704394fc9e90e': Display BTH connected status correctly
| * am d6b0b172: am 7dd84651: Merge "Display BTH connected status correctly"Zhihai Xu2014-04-301-1/+1
| |\ | | | | | | | | | | | | * commit 'd6b0b1721a684be1805025908c4733a6b02794a4': Display BTH connected status correctly
| | * Display BTH connected status correctlyTsuyoshi Kamata2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | am 41f5437d: DO NOT MERGE: Revert "BLE peripheral mode (4/4): Settings ↵Wei Wang2014-03-2012-483/+39
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | change for advertising preference." * commit '41f5437def4b97581d67b5636ca2dba10f8eb385': DO NOT MERGE: Revert "BLE peripheral mode (4/4): Settings change for advertising preference."
| | * | DO NOT MERGE: Revert "BLE peripheral mode (4/4): Settings change for ↵Wei Wang2014-03-1912-483/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | advertising preference." This is cherry pick from master/klp-dev changes. This reverts commit eb56b9ccb8fa70a6c567d0bcd02f821e4de4bf7b. Conflicts: src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java src/com/android/settings/bluetooth/BluetoothSettings.java src/com/android/settings/bluetooth/LocalDeviceProfilesSettings.java Change-Id: I2ce6b9eb0e335ba1b9aa4e1cb61a041f00d9aa87 Conflicts: src/com/android/settings/bluetooth/BluetoothAdvertisingEnabler.java src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java src/com/android/settings/bluetooth/BluetoothSettings.java src/com/android/settings/bluetooth/LocalDeviceProfilesSettings.java
* | | | Better decoupling of Index updates in Bluetooth SettingsFabrice Di Meglio2014-04-211-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - use a Handler - force rebuilding Change-Id: I474fa98ea0e0758abcc46d4812f744dff24fd455
* | | | Make all the Settings Switches appear againFabrice Di Meglio2014-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - use the ActionBar Theme context when creating the Switch for getting the correct Theming Change-Id: Ic3701c53662b0f245c7149b119de8bb5cbaae232
* | | | Allow partial Index rebuilding thru updateFromClassNameResource(...)Fabrice Di Meglio2014-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a new boolean parameter to ask for Index rebuilding: passing "true" will delete first all the data corresponding to the "className" and then apply the update. Change-Id: Ifc42fc560a14f5470b466cf6982915d9207fa3c7
* | | | Search - fix remembered Bluetooth devices indexingFabrice Di Meglio2014-04-112-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add Indexable.SearchIndexProvider.getNonIndexableKeys(Context)Fabrice Di Meglio2014-04-111-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - getNonIndexableKeys(Context) allow a SearchIndexProvider to tell which data he does not want to index by providing a list of the data keys - use this new API for SoundSettings and removing KEY_EMERGENCY_TONE related settings if the device is not CDMA - add a BaseSearchIndexProvider for code simplification Change-Id: I23633ace1d7e390ee05fac0a5458a33e04e72d8d
* | | | Fix issue about at which time Bluetooth devices name are indexedFabrice Di Meglio2014-04-082-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | Re-enable on/off switch for Wi-Fi and Bluetooth SettingsFabrice Di Meglio2014-04-031-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | - the switch was no more there when launching from an Intent (it was a regression) Change-Id: I1fc95cad4523a1d3812323fb26908f925a9e623e
* | | | Merge "Settings - update for new UI (no more Drawer)"Fabrice Di Meglio2014-03-281-2/+2
|\ \ \ \
| * | | | Settings - update for new UI (no more Drawer)Fabrice Di Meglio2014-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - follow the UX spec by no more using a Drawer - the Dashboard is now a Fragment that contains the list of Headers - the search results are also put into a Fragment that is replacing the initial one (Dashboard or other) when expanding the SearchView - use a SearchView for query input - when tapping on a Header or a Search Result, re-launch Settings as an Activity so that we are benefiting from the Activity stack for UP affordance and BACK button - manage UP affordance to show it only when needed - move some Actions to the Menu in the ActionBar for allowing space to the Search action and removing some clutter - fix an issue with the Index and WiFiEnabler and their cached Context that was not updated when there was a Configuration change - simplify the SettingsActivity code by extracting some inner classes Change-Id: I50b5f77bb44a7fade1886114dbbc820609a5e63d
* | | | | Skip bluetooth device iteration if LocalBluetoothManager is nullNicholas Sauer2014-03-271-10/+13
|/ / / / | | | | | | | | | | | | | | | | | | | | bug:13653239 Change-Id: I163c47b626825b2f83bb63d9f6900216ce44ae41
* | | | Add dynamic Preferences indexing (part 2)Fabrice Di Meglio2014-03-202-28/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - change the Index SQL model. Add a new "enabled" column. - use that column for issuing a more restrictive search query - change the SearchIndexProvider API to pass the "enable" state - apply it to Bluetooth settings - refactor the list of indexable resources (SearchIndexableResources) Change-Id: Ic900fb27cb12a285a80d953aa1aa88f0070cd986
* | | | Add indexing for cached Bluetooth (BT) paired devicesFabrice Di Meglio2014-03-201-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - comply to the SEARCH_INDEX_DATA_PROVIDER - add to the Index the name of previously paired BT devices (this will work for now only and only if BT has been on during the indexing) Change-Id: I00065db0f4e9657cca3578a2fafa0ec39cfaa432
* | | | Revert "BLE peripheral mode (4/4): Settings change for advertising preference."Wei Wang2014-03-0312-484/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit eb56b9ccb8fa70a6c567d0bcd02f821e4de4bf7b. Conflicts: src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java src/com/android/settings/bluetooth/BluetoothSettings.java src/com/android/settings/bluetooth/LocalDeviceProfilesSettings.java Change-Id: I2ce6b9eb0e335ba1b9aa4e1cb61a041f00d9aa87
* | | | Merge "Update context on resume calls for BluetoothAdvertisingEnabler and ↵Matthew Xie2014-03-014-8/+17
|\ \ \ \ | | | | | | | | | | | | | | | BluetoothEnabler"
| * | | | Update context on resume calls for BluetoothAdvertisingEnabler and ↵Matthew Xie2014-02-144-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothEnabler The saved context could be invalid if not updated bug 12991455 Change-Id: I93abb8420d0fa53add1f0e843a5069d59743891c
* | | | | am 31df7cdc: am b1140053: am 85fb88ee: Merge "HTML injection fix for ↵Matthew Xie2014-02-271-3/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | bluetooth pairing, issue 65946" * commit '31df7cdcb31993c4c62bd1995af72fca57946e10': HTML injection fix for bluetooth pairing, issue 65946
| * | | | am 85fb88ee: Merge "HTML injection fix for bluetooth pairing, issue 65946"Matthew Xie2014-02-271-3/+4
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | * commit '85fb88ee10c6bb901d30e50038b4a86252ff8c68': HTML injection fix for bluetooth pairing, issue 65946
| | * | | HTML injection fix for bluetooth pairing, issue 65946Rob Fletcher2014-02-271-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During bluetooth pairing, HTML injection is possible via the device name displayed to the user. This escapes the device name, before creating HTML from it, so it will preserve things like < and > but will not affect rendering of HTML Bug: 12976386 Change-Id: I8a02d3be8c1a779dc9ed1c9ef8083a1159ab3f2b
* | | | | am 8e6a5d31: am 27543d42: am 0223f9c5: Merge "Bluetooth: GAP: Cancel the ↵Matthew Xie2014-02-241-0/+13
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | | | | | pairing notification on bond state change" * commit '8e6a5d31344395ffce77caff217a90f5d0d25ab1': Bluetooth: GAP: Cancel the pairing notification on bond state change
| * | | am 0223f9c5: Merge "Bluetooth: GAP: Cancel the pairing notification on bond ↵Matthew Xie2014-02-241-0/+13
| |\ \ \ | | |/ / | | | / | | |/ | |/| | | | | | | state change" * commit '0223f9c5ddfdbcd2c759d1b0cf289844ca0438c0': Bluetooth: GAP: Cancel the pairing notification on bond state change
| | * Bluetooth: GAP: Cancel the pairing notification on bond state changeSrinu Jella2014-02-191-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Cancel the pairing notification on bond state change happens from BOND_BONDING to BOND_NONE. Otherwise it will present in the notification area until it gets cancelled by opening it and press cancel on pairing dialog. Change-Id: I96f673e29e612cd748165a1323a5b4a4276a843c
| * | BLE peripheral mode (4/4): Settings change for advertising preference.Wei Wang2014-01-1413-38/+485
| |/ | | | | | | Change-Id: I5721f136267fe25e55f764bb4a6c53acd45b318b
* | Crash in Settings observed while changing the device orientation after ↵Fabrice Di Meglio2014-02-143-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | renamed tablet There was a fundamental flow in the BT code. Basically BluetoothSettings is using a singleton BluetoothDiscoverableEnabler. BluetoothDiscoverableEnabler is keeping (thru its constructor) a reference on a Context for registering/unregistering some broadcast receiver. BUMMER! When you change orientation (or more generally the device Configuration), your Context is no more the same! Hence the crash as we were trying to unregister a Receiver on a Context that is no more valid. Fix that issue by passing an updated Context to the BluetoothDiscoverableEnabler.resume() API. Bug #12991455 Change-Id: I77db15d2b59b6dd973907e26f9e6bb022202a8b5
* | Fix bug #12898564 Settings Crash on Renaming the device.Fabrice Di Meglio2014-02-051-3/+1
| | | | | | | | | | | | | | | | - remove the call to PreferencesActivity as we are no more using the PreferencesActivity Also set correct activity title with the new selected BT name for the device. Change-Id: I03497187e0410ff2bba87bdb04a197938d1ea967