Commit Graph

34096 Commits

Author SHA1 Message Date
Marie Janssen
683528db8b Bluetooth: remove BluetoothDiscoveryReceiver
Use new function getDiscoveryEndMillis() to replace use of shared preferences
and intents.

Test: scan recently, then connect from external BT device
Bug: 34395439
Change-Id: Ia498b3bb4868b656cbbb9fbdc607a49af948343b
2017-01-26 15:38:05 -08:00
Daniel Nishi
1db848885d Go to the old storage settings when using non-internal storage.
There are a few things which, currently, can only be done on
the old storage view. We can continue to use the storage
dashboard fragment for the internal storage, but for SD cards
and USB drives it makes sense to show the old view.

Bug: 34623728
Test: Manual
Change-Id: Ibe640decea6486a75034184c8f9f95bf00411553
2017-01-26 15:03:00 -08:00
Soroosh Mariooryad
b1922dbc39 Adding setting suggestion ranker.
Test: RunSettingsGoogleRoboTests
This is currently behind a flag and it is no-op CL.

Change-Id: Ieed3e5a9c3c2fbb0ce1bfea77c588b04778540eb
2017-01-26 14:45:39 -08:00
Salvador Martinez
d7fe1fb958 Fix null pointer exception when surveys are turned off
Under certain conditions the provider could be null on
download completion which could lead to a
NPE if surveys are disabled. The method to remove
the receiver has been made static so an instance
is no longer required.

Test: robotests
Bug: 33707203
Change-Id: Icfb545697f24172db734dd7dad421796edf68186
2017-01-26 12:32:21 -08:00
Pavlin Radoslavov
86c492ffcc Merge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa am: a53cc5068d am: e3fc5f7b56
am: fbdc22ff9a

Change-Id: I002e9ef05e3fa91b6430b1d31bc3178e87b097d0
2017-01-26 19:42:33 +00:00
Pavlin Radoslavov
fbdc22ff9a Merge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa am: a53cc5068d
am: e3fc5f7b56

Change-Id: I69b7cef21d953bcecd2fb73ddbc1b6231c4eb25b
2017-01-26 19:31:19 +00:00
Pavlin Radoslavov
e3fc5f7b56 Merge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa
am: a53cc5068d

Change-Id: Iee8bf4a93a7c6879a144616648fd629c3109e40d
2017-01-26 19:25:49 +00:00
Pavlin Radoslavov
a53cc5068d Merge "Integration of the AAC codec for A2DP source"
am: 6a153ac4aa

Change-Id: I1ca21a7c2a2c2792ba3fa6055f767d3b8686f5d5
2017-01-26 19:20:20 +00:00
Treehugger Robot
6a153ac4aa Merge "Integration of the AAC codec for A2DP source" 2017-01-26 19:12:55 +00:00
Robin Lee
2953f31b61 Prompt to start user before choosing a new ringtone
Dead users can't hear, nor see, ringtones. Let's wake them up and give
them a good shake first.

Until then, show a nice friendly "work profile isn't available" message.
Or depending on locale something confusing, egregious, and mismatched
like "work profile isn't available" instead.

Fix: 34735015
Bug: 34734809
Test: make RunSettingsRoboTests && make Settings && adb install -r $OUT/system/priv-app/Settings/Settings.apk && then reboot the device to see what happens
Change-Id: I86e61a7f3f654d7f38f04c43227a31e2f288e18f
2017-01-26 18:20:45 +00:00
songchenxi
b9cf917f40 Location Setting change for O
This is a change that adds a link from location settings to location
permissions

Test: Manual

Bug: 34400189
Change-Id: If873fbb6e53c1fd86a3cfe38e06465cdec56bef8
2017-01-26 09:33:26 -08:00
Pavlin Radoslavov
c0a3a9fb94 Integration of the AAC codec for A2DP source
Test: A2DP streaming to AAC headsets
Bug: 30958229
Change-Id: Icef9ce9fb8e41cad65bc57bf078513d0c7bf7b9a
2017-01-26 09:30:11 -08:00
Lenka Trochtova
a2070edbf2 RequestPermissionHelperActivity: policy transparency for BT disallowed
Don't try to enable Bluetooth if it was disallowed, show a policy
transparency dialog instead.

Test: manual with CtsVerifier

Bug: 32895313

Change-Id: I9dd535a959b65f172cf2dcdd5483773d4f67366c
2017-01-26 15:44:55 +01:00
Nicolas Prevot
4735488902 Add policy transparency to Settings > device administrators
In Settings > device administrators: if the user wants to remove
a work profile but DISALLOW_REMOVE_MANAGED_PROFILE is set: show
policy transparency.

BUG:33925172
BUG:34455202
Test: manual
Change-Id: Ifbb9806e92e759039d592af29568bffce5fbb92a
2017-01-26 12:55:50 +00:00
Stefano Tommasini
77af2af66a Merge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev am: a04697a951
am: 3e7287b6db  -s ours

Change-Id: I3d9af498968a614de17928cf9dca25da7d6e23a8
2017-01-26 10:38:52 +00:00
Stefanot
f74f998087 *DO NOT MERGE* Create new suggestion category for backup. am: 1c72ce06d1
am: 3c019a8714  -s ours

Change-Id: I96f27a8f2afd65784de9289daff082ab5914fbb8
2017-01-26 10:38:45 +00:00
Stefano Tommasini
3e7287b6db Merge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev
am: a04697a951

Change-Id: I9f5c2efb755e6e96805be3feb97f85dc0f4a0ce0
2017-01-26 10:36:06 +00:00
Stefanot
3c019a8714 *DO NOT MERGE* Create new suggestion category for backup.
am: 1c72ce06d1

Change-Id: I07d65c9045c97ac62e4d7bfc0fd96a92fdab5809
2017-01-26 10:35:45 +00:00
Stefano Tommasini
a04697a951 Merge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev 2017-01-26 10:31:15 +00:00
Steven Moreland
dba28ecbd7 Merge "Development Options: toggle binderized hals" am: 5f854f39a8 am: 8076dcde0c am: ec0e1fb59f
am: 7ea5b6d740

Change-Id: I2c9d79da43142e440f7c79b85904a94c2af65b76
2017-01-26 10:09:55 +00:00
Steven Moreland
7ea5b6d740 Merge "Development Options: toggle binderized hals" am: 5f854f39a8 am: 8076dcde0c
am: ec0e1fb59f

Change-Id: I7bb618cdbe0bc925b214b9184652864ad6b5a8ba
2017-01-26 10:06:43 +00:00
Steven Moreland
ec0e1fb59f Merge "Development Options: toggle binderized hals" am: 5f854f39a8
am: 8076dcde0c

Change-Id: Idb3f71707b7b1b091e3a18517852fff66e01cf08
2017-01-26 10:03:46 +00:00
Steven Moreland
8076dcde0c Merge "Development Options: toggle binderized hals"
am: 5f854f39a8

Change-Id: Id05768135b0609e917f4e1888caf2724ebf9ba3a
2017-01-26 10:01:15 +00:00
Treehugger Robot
5f854f39a8 Merge "Development Options: toggle binderized hals" 2017-01-26 09:57:39 +00:00
Bill Yi
dd97158d57 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 063b543124 -s ours
am: 398db3e566  -s ours

Change-Id: I43ce9c2d751cd9ce0ea8a69b3539a11626226cad
2017-01-26 07:14:12 +00:00
Bill Yi
e4af10d917 Import translations. DO NOT MERGE am: db68fc320f -s ours
am: b33b8c9081  -s ours

Change-Id: I06f626486bc7c15d769a30e1111cd4bf82740915
2017-01-26 07:13:58 +00:00
Bill Yi
398db3e566 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 063b543124  -s ours

Change-Id: I5ab2b1d1e9767e94d0aea73c51d3bc12f151184a
2017-01-26 07:11:30 +00:00
Bill Yi
b33b8c9081 Import translations. DO NOT MERGE
am: db68fc320f  -s ours

Change-Id: I178cf3af6e91249aed1ed457bcbc88eb2d7f86f1
2017-01-26 07:11:29 +00:00
TreeHugger Robot
063b543124 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-26 07:06:17 +00:00
Steven Moreland
73dd0ae30e Development Options: toggle binderized hals
This allows for quick performance testing and also for a better
dogfooding experience.

Bug: 34256441
Test: Verification with getprop.
Change-Id: I81c5e0b1044d4569a6fe55a4b30f7e21c4465fc2
2017-01-25 22:03:45 -08:00
Bill Yi
db68fc320f Import translations. DO NOT MERGE
Change-Id: Ibb3ccac189513a5a988ec8c857f2ad574371808a
Auto-generated-cl: translation import
2017-01-25 20:04:52 -08:00
TreeHugger Robot
71b98744f1 Merge "Update Network & internet->Wi-Fi to use MasterSwitchPreference." 2017-01-26 02:09:53 +00:00
Doris Ling
f8f5f46ff0 Merge "Revert "Get intent for backup settings from backup transport."" 2017-01-26 01:50:23 +00:00
William Mee
0f620abee6 Adds a default for the badging curve thresholds to Settings app
resources; this will be the fall-back default used by the WifiSettings
in follow-on work.

ag/1829150 has the corresponding Settings.Global change.

Bug: 34052475
Test: compiles
Change-Id: I529d778537cc418f44616384ecde4a03bcd2e117
2017-01-25 17:22:34 -08:00
Fan Zhang
ff3db157c2 Revert "Get intent for backup settings from backup transport."
Bug: 34700410

This reverts commit 970a66c972.

Change-Id: I254d704eb4f456c07c6d6d270de830aef95d1f4a
2017-01-26 01:12:57 +00:00
TreeHugger Robot
f75b651874 Merge "Implements queryNonIndexableKeys for Settings" 2017-01-26 01:10:16 +00:00
Shahriyar Amini
6db21b4668 Merge "Create security status preference category." 2017-01-26 00:48:19 +00:00
Chao Chen
bb880bf465 Merge "Integrate Select-To-Speak in Vision Settings." 2017-01-26 00:18:36 +00:00
Daniel Nishi
bf441d39b9 Merge "Add an automated test for the null bundle crash." 2017-01-25 22:52:36 +00:00
Matthew Fritze
2108f91fe6 Implements queryNonIndexableKeys for Settings
queryNonIndexableKeys returns a list of all of the
non-indexable keys for all providers in Settings

Change-Id: Id53cb2f55662e85c66f1c3f0c0e7d933b19fedaf
Fixes: 34623460
Test: RunSettingsRoboTests
2017-01-25 14:33:45 -08:00
Shahriyar Amini
c60464e46d Create security status preference category.
Bug: 31002801
Test: make RunSettingsRoboTests
Change-Id: I513253e79f91e41686bad9abac8548bb366fc98d
2017-01-25 14:23:55 -08:00
Jerry Zhang
94cfd54fbf Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev am: 361a3e2090
am: 8b6614cdc3

Change-Id: I3162421f2f3e5a6237166d200feb7f954968f9f1
2017-01-25 21:35:40 +00:00
Jerry Zhang
8b6614cdc3 Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev
am: 361a3e2090

Change-Id: Idd44b8b05758f3fd8c2e016604c0f2a10bd0b80c
2017-01-25 21:33:23 +00:00
Jerry Zhang
72d34983a3 Refactor setCurrentFunction and setUsbDataUnlocked into one method am: a291336bd8 -s ours
am: a0b75ff516

Change-Id: I56296cc7b7c2febd049b0a02865735ad7868bda6
2017-01-25 21:32:25 +00:00
Jerry Zhang
a0b75ff516 Refactor setCurrentFunction and setUsbDataUnlocked into one method
am: a291336bd8  -s ours

Change-Id: I60a407b71c4fbf4b5bd0ef980c08af8a4aa68f20
2017-01-25 21:24:02 +00:00
chchao
5ebb9bb502 Integrate Select-To-Speak in Vision Settings.
This allows users to launch Select to Speak service in SetupWizard when
setting up their devices.

Bug: 29517229
Test: manual

Change-Id: I3844e2692e1fc9eb3d0736feb4ca4f74d474130b
2017-01-25 13:11:26 -08:00
TreeHugger Robot
0f36f3b5fe Merge "Search only matches prefixes rather than any substring" 2017-01-25 20:37:16 +00:00
Jerry Zhang
361a3e2090 Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev 2017-01-25 20:30:18 +00:00
Daniel Nishi
31027dae93 Add a music apps view to the Storage Settings.
When you tap the Music & Audio preference, it takes you a
hybridized applications view. In this view, there also is
a line item which defines the amount of storage used by
audio files on the device. Using the new storage query, we
can add this information very quickly to the view.

Bug: 33199077
Test: Settings robo tests
Change-Id: If51cba0b3de20805543a39049367eb13613081e7
2017-01-25 11:56:02 -08:00
TreeHugger Robot
a40d72b9e9 Merge "Making "Battery Saver" use MasterSwitchPreference." 2017-01-25 19:31:29 +00:00