Juan Lang
5eb496e714
Fix a typo in the launch intent for emergency info.
...
The EmergencyInfo app accepts either launch target for now. After this
is submitted, the misspelled one can be removed.
Test: Manually test that the Settings app still launches the
EmergencyInfo app. Reran unit tests.
Change-Id: I923468dbe9825e85b021f5ea64ee2877fd02f262
2017-05-02 17:33:10 -07:00
Daniel Sheng
73619d16a0
Merge "Camera Lift string tweaks"
2017-05-02 23:21:26 +00:00
jackqdyulei
55a97a9ad4
Add abnormal app page for battery settings
...
1. Add abnormal app page
2. Add strings for abnormal app page
3. Change AnomalyPreferenceController to open abnormal app page,
when there are more than one anomaly.
4. Add AnomalyPreference, who stores a reference of anomaly.
Also rename AnomalyPreferenceController to
AnomalySummaryPreferenceController because this controller is not
used to handle AnomalyPreference.
Following cls will add summary and icon for each abnormal app.
Bug: 37681665
Test: RunSettingsRoboTests
Change-Id: I4266f906476ff8daccd962572c8cfa99f948080a
2017-05-02 15:59:22 -07:00
Daniel Nishi
f7fa542eb6
Don't overly hide the Files preference.
...
This occurred this because the files preference was initialized during
displayPreference(), but the volume used to initialize it was not being
set until after the displayPreference() call. In this case, the files
preference would hide itself and never come back.
This fixes this by double-checking the Files visibility status whenever
we set the volume.
Change-Id: I0b1a7a9566e9caece39ec58706fbca034ef4c1c2
Fixes: 37790776
Test: Settings robotest
2017-05-02 15:42:55 -07:00
jackqdyulei
f68fbce16e
Hide subtitle for wifi and bluetooth
...
Hide it for now because the usage time is not accurate. We may
revisit it in the future.
Bug: 37912143
Test: RunSettingsRoboTests
Change-Id: I37b9dca6a188f2973a7a83641d12b24001d629ae
2017-05-02 15:16:19 -07:00
jackqdyulei
4aa3358c4c
Add wakelock anomaly detector
...
This cl detects whether apps hold wakelock for long time.
For now we use the following attribute:
1. Longest total duration time among all the wakelocks
for one app.
Following cl will:
1. Get threshold from server side.
2. Add more attributes to make the detection more robust.
Bug: 36925184
Test: RunSettingsRoboTests
Change-Id: I1946faf69c363f6aa823d0005d6e03bc9082c085
2017-05-02 14:55:33 -07:00
Nathan Harold
01fc5e4ffc
Update references to use PhoneConstantConversion
...
Bug: 33414487
Change-Id: I391671e38406235da48bddf61a70699974367e33
2017-05-02 13:44:27 -07:00
TreeHugger Robot
f223383936
Merge "Remove custom layout for expandpreference."
2017-05-02 19:55:15 +00:00
Matthew Fritze
e6e81ed3a3
Merge "Prevent empty non-Indexable keys from being added" into oc-dev am: d51b94b042
...
am: 68824ba600
Change-Id: I0e8d2965c10947db09832ee7dfd4d1a4bc8aaa17
2017-05-02 19:45:09 +00:00
Matthew Fritze
68824ba600
Merge "Prevent empty non-Indexable keys from being added" into oc-dev
...
am: d51b94b042
Change-Id: I2b915166c5a52082bfb0c4dff52ea9101f5c2514
2017-05-02 19:29:18 +00:00
TreeHugger Robot
d51b94b042
Merge "Prevent empty non-Indexable keys from being added" into oc-dev
2017-05-02 19:25:53 +00:00
TreeHugger Robot
e2987d7173
Merge "Remove accessibility duplicates in settings search"
2017-05-02 19:07:44 +00:00
Fan Zhang
403ff14638
Remove custom layout for expandpreference.
...
It's no longer needed.
Test: manual
Change-Id: I704255ee217d1142ac81c738feef212224bae4e8
2017-05-02 11:12:44 -07:00
Miao Miao (苗苗)
e1e918e4a8
Merge "Settings crash when receiving data state broadcast" am: 2ed42d009b
am: c6e3467cc2
am: b1480c8cab
...
am: d0cb54b27e
Change-Id: I7430b38a73cf22b823121db3c2287f3afdb63d79
2017-05-02 17:54:44 +00:00
Miao Miao (苗苗)
d0cb54b27e
Merge "Settings crash when receiving data state broadcast" am: 2ed42d009b
am: c6e3467cc2
...
am: b1480c8cab
Change-Id: I803440c63bfb4a4355765b2dc670e2ca54f7c9e1
2017-05-02 17:48:41 +00:00
Miao Miao (苗苗)
b1480c8cab
Merge "Settings crash when receiving data state broadcast" am: 2ed42d009b
...
am: c6e3467cc2
Change-Id: If6ad081e117a94df84d041776649af63c392cc30
2017-05-02 17:46:41 +00:00
Miao Miao (苗苗)
c6e3467cc2
Merge "Settings crash when receiving data state broadcast"
...
am: 2ed42d009b
Change-Id: Ie0dcb238e132705022408e2f0cacd35597ff86f1
2017-05-02 17:44:08 +00:00
Matthew Fritze
4f198813ed
Prevent empty non-Indexable keys from being added
...
Change-Id: I688cd5243bb1651d60f74e168a84ddf8723816e3
Fixes: 37646265
Test: make RunSettingsRoboTests
2017-05-02 10:42:07 -07:00
Treehugger Robot
2ed42d009b
Merge "Settings crash when receiving data state broadcast"
2017-05-02 17:39:45 +00:00
Matthew Fritze
49915a64c5
Remove accessibility duplicates in settings search
...
Bug: 33701673
Test: make RunSettingsRoboTests
Change-Id: Iae179b558065d728c14eb76f136d398081577779
2017-05-02 17:39:24 +00:00
Kevin Chyn
a0f8f13af4
Swipe for notification should be default-on in settings app
...
Fixes: 37672954
Test: adb shell settings delete secure system_navigation_keys_enabled
delete/toggle the setting above between null/0/1
Change-Id: I310bfbde3a7d4df58ebdec85d57c4d39ff4972e1
2017-05-02 10:25:19 -07:00
Kevin Chyn
d361b734a5
Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev am: f1f35ee107
...
am: 19323ca297
Change-Id: I64d6590b9e757e99005ce7a3f9f01ad5fd11f5fe
2017-05-02 17:22:40 +00:00
Kevin Chyn
19323ca297
Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev
...
am: f1f35ee107
Change-Id: I105ef25110a9c7b158c08f61f5e0b4354490218e
2017-05-02 17:16:09 +00:00
TreeHugger Robot
f1f35ee107
Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev
2017-05-02 17:12:22 +00:00
Daniel Nishi
cbeebe1b6c
Merge "Filter on volume for category storage view." into oc-dev am: a41a190ac3
...
am: 854acc9e4b
Change-Id: I21c985df9ee34981b47c080756df5dc442f335b6
2017-05-02 17:09:37 +00:00
Daniel Nishi
dfcee96122
Merge "Tweak spacing for horizontal preferences." into oc-dev am: b4937f4556
...
am: 88c721116b
Change-Id: I46f64ee45e2dc0941719e9d53abc0f4cba0fa79a
2017-05-02 17:09:08 +00:00
Daniel Nishi
854acc9e4b
Merge "Filter on volume for category storage view." into oc-dev
...
am: a41a190ac3
Change-Id: I967f4fd28c5375f0c56ad88dedc47a484918b629
2017-05-02 17:07:02 +00:00
Daniel Nishi
88c721116b
Merge "Tweak spacing for horizontal preferences." into oc-dev
...
am: b4937f4556
Change-Id: Ida558c9499e49a1498e4469140dc099ef754e093
2017-05-02 17:06:36 +00:00
Daniel Nishi
a41a190ac3
Merge "Filter on volume for category storage view." into oc-dev
2017-05-02 17:03:36 +00:00
Daniel Nishi
b4937f4556
Merge "Tweak spacing for horizontal preferences." into oc-dev
2017-05-02 17:03:13 +00:00
The Android Open Source Project
57fb213856
Merge "Import translations. DO NOT MERGE" into oc-dev am: 23550fdcd3
-s ours
...
am: ad5649043e
-s ours
Change-Id: I079f1dd525e204ec7905550ea0525c1509283066
2017-05-02 16:34:46 +00:00
Jeremy Joslin
9dd363847c
Allow "None" to be selected as a Network rating provider.
...
Updated the picker to always provide "None" as an option. The
preference is only disabled if there a no valid scorers installed.
Existing tests updated and new tests added.
Bug: 37722313
Test: make RunSettingsRoboTests -j40
Test: manual on device clicking.
Change-Id: Ie6fd9f29e0ea3c64845dd98ce1d117013f50c86b
2017-05-02 09:12:48 -07:00
The Android Open Source Project
ad5649043e
Merge "Import translations. DO NOT MERGE" into oc-dev
...
am: 23550fdcd3
-s ours
Change-Id: I8a79bee09818497cf509369a673377bf623b1fb8
2017-05-02 15:59:49 +00:00
TreeHugger Robot
23550fdcd3
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-05-02 15:46:55 +00:00
TreeHugger Robot
e9686e3284
Merge "Import translations. DO NOT MERGE"
2017-05-02 15:10:59 +00:00
The Android Open Source Project
e59cd40c54
Import translations. DO NOT MERGE
...
Change-Id: I821c1fc2cd75b141b068160f0a664cc747c36a3f
Auto-generated-cl: translation import
2017-05-02 02:06:19 -07:00
The Android Open Source Project
9a45ec31ba
Import translations. DO NOT MERGE
...
Change-Id: I7759ea372b0386d5a275424525c5fb4b9d283173
Auto-generated-cl: translation import
2017-05-02 01:35:16 -07:00
Kevin Chyn
5e6b804301
Revert "Swipe for notification should be default-on in settings app"
...
This reverts commit a95c2c3a8d
.
Change-Id: I8fcc290be7d373d55058bd7c22f163d54fc03830
2017-05-02 06:49:17 +00:00
Kevin Chyn
cd10e82eba
Merge "Swipe for notification should be default-on in settings app" into oc-dev am: 9ab1318ca8
...
am: f921f8e77e
Change-Id: I3337bcba8a7baa4038f7c72d8eb9658311c0c435
2017-05-02 04:20:45 +00:00
Kevin Chyn
f921f8e77e
Merge "Swipe for notification should be default-on in settings app" into oc-dev
...
am: 9ab1318ca8
Change-Id: Ib153ffcb4012954950f8c1310a5f08efefecc91d
2017-05-02 04:14:47 +00:00
TreeHugger Robot
9ab1318ca8
Merge "Swipe for notification should be default-on in settings app" into oc-dev
2017-05-02 04:09:31 +00:00
Fan Zhang
4844cd878f
Merge "Update vpn icon from setting gear to vpn key." into oc-dev am: 74327fa4f0
...
am: 403a4ee11a
Change-Id: I29538740df4794e0b427f31bc62a4380e40686f3
2017-05-02 02:32:39 +00:00
Fan Zhang
403a4ee11a
Merge "Update vpn icon from setting gear to vpn key." into oc-dev
...
am: 74327fa4f0
Change-Id: Ib711284c7071766d516d5b0e653f1b01da0f13bd
2017-05-02 02:28:10 +00:00
TreeHugger Robot
74327fa4f0
Merge "Update vpn icon from setting gear to vpn key." into oc-dev
2017-05-02 02:23:35 +00:00
Amit Mahajan
02f99d3009
Merge "Change to not call update() if APN is not modified." into oc-dev am: 7cab6a9a17
...
am: bd119a71ec
Change-Id: I477923344d01febc0d78c0264eadfa880d716353
2017-05-02 02:13:41 +00:00
TreeHugger Robot
fd4feaf540
Merge "Add summary text to App permissions settings."
2017-05-02 02:11:50 +00:00
Amit Mahajan
bd119a71ec
Merge "Change to not call update() if APN is not modified." into oc-dev
...
am: 7cab6a9a17
Change-Id: I7ae69ec7797f10e0d48a4ce7d1b3a80c18851911
2017-05-02 02:07:38 +00:00
TreeHugger Robot
9a68befefd
Merge "Framework for the anomaly detection."
2017-05-02 02:03:01 +00:00
TreeHugger Robot
7cab6a9a17
Merge "Change to not call update() if APN is not modified." into oc-dev
2017-05-02 01:59:38 +00:00
Jaekyun Seok
d427f4fef8
Merge "Do not show static overlays as a theme" into oc-dev am: 170acdb79b
...
am: 4a6781af1b
Change-Id: I2f4b1f9ab7e7947bb5c95aae7d7400113e4c266b
2017-05-02 01:24:29 +00:00