fanzhang172
ae2f2b5268
Add recent apps in app & notification
...
- Introduce a RecentAppsPreferenceControler, which queries
UsageStatsManager and displays a list of recently used apps.
- Add a control flag for this feature, intially set to false.
- Make ManageApplications a static pref item instead of dynamic one.
This makes the RecentAppController easier to control "See all"
preference, which is backed by ManageApplications.
- Also adjust app_items.xml layout to make app item UI consistent with
preference item.
Change-Id: I0b9e1784faed32b3055ebf96ef98b6a5e422de50
Fix: 33265548
Test: robotests
2017-05-03 14:09:43 -07:00
Daniel Nishi
c90502627b
Merge "Always use GB as the unit in Storage Settings." into oc-dev am: 833927929e
...
am: f917c0aa24
Change-Id: I632e27fe03241818447998464e1bdbfe96f4c6e5
2017-05-03 18:09:27 +00:00
Daniel Nishi
1ec0f84f43
Merge "Don't overly hide the Files preference." into oc-dev am: 0c58fbd345
...
am: 169fd4693f
Change-Id: I5328da37f430703540cb067256984ebafbe4ff59
2017-05-03 18:09:00 +00:00
Daniel Nishi
f917c0aa24
Merge "Always use GB as the unit in Storage Settings." into oc-dev
...
am: 833927929e
Change-Id: I569b89bcf10fa32f86978c80fb646c0d4503b89e
2017-05-03 18:04:51 +00:00
Daniel Nishi
169fd4693f
Merge "Don't overly hide the Files preference." into oc-dev
...
am: 0c58fbd345
Change-Id: I4dbc750366d9fdbd6bc18abd751e47694de1d368
2017-05-03 18:04:17 +00:00
Daniel Nishi
833927929e
Merge "Always use GB as the unit in Storage Settings." into oc-dev
2017-05-03 18:00:19 +00:00
Daniel Nishi
0c58fbd345
Merge "Don't overly hide the Files preference." into oc-dev
2017-05-03 17:59:08 +00:00
jackqdyulei
4dd126845b
Merge "Hide subtitle for wifi and bluetooth" into oc-dev am: 4b50e58a1d
...
am: 09adbd2f3b
Change-Id: I2d620d2fecf016434886ef67a5fa88128f722a6d
2017-05-03 02:31:43 +00:00
jackqdyulei
09adbd2f3b
Merge "Hide subtitle for wifi and bluetooth" into oc-dev
...
am: 4b50e58a1d
Change-Id: I2997ffe57474de973a66932b685fbbaf9bf77955
2017-05-03 02:24:48 +00:00
TreeHugger Robot
4b50e58a1d
Merge "Hide subtitle for wifi and bluetooth" into oc-dev
2017-05-03 02:18:53 +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
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
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
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
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
a41a190ac3
Merge "Filter on volume for category storage view." into oc-dev
2017-05-02 17:03:36 +00: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
Jaekyun Seok
4a6781af1b
Merge "Do not show static overlays as a theme" into oc-dev
...
am: 170acdb79b
Change-Id: I7172c65c195baa356dc6f2dbe1d9793dca51b3fa
2017-05-02 01:15:01 +00:00
TreeHugger Robot
170acdb79b
Merge "Do not show static overlays as a theme" into oc-dev
2017-05-02 01:03:54 +00:00
Jesse Evans
2560e2eacd
Merge "Hides app buttons for instant apps" into oc-dev am: 965508fc3e
...
am: 34e0c7afdf
Change-Id: I8b0624d28b43274465b9249552290fac950e9638
2017-05-02 00:36:34 +00:00
Doris Ling
ffda9c23c4
Add summary text to App permissions settings.
...
Check the granted permissions for the installed app and compose the
summary text to use the first 3 permissions granted from the list:
Location, Microphone, Camera, Sms, Contacts, and Phone.
Change-Id: I61d21f279af2fe86132de22b94e1a49da0225fcd
Fix: 36376411
Test: make RunSettingsRoboTests
2017-05-01 17:36:20 -07:00
Jesse Evans
34e0c7afdf
Merge "Hides app buttons for instant apps" into oc-dev
...
am: 965508fc3e
Change-Id: I6158a7d6f96ea144b16cda70fe1ed9fb989c5d8d
2017-05-02 00:34:02 +00:00