Salvador Martinez
759fab17a4
Merge "Add info string to advanced battery usage page" into oc-dr1-dev am: 94d0a9c554
...
am: 776fe841f9
Change-Id: I9f3005e2ad9dbfde4c703c509e798e5292b8a1cb
2017-06-21 17:11:47 +00:00
Salvador Martinez
94d0a9c554
Merge "Add info string to advanced battery usage page" into oc-dr1-dev
2017-06-21 17:02:32 +00:00
Ajay Kumar Nadathur Sreenivasan
28c4a576d3
Merge "Add missing 'pin' screen lock option" into oc-dr1-dev am: f5b77d65b4
...
am: c14e0660a7
Change-Id: Ia9d5cf1fc594d9db756c1325cbb4a71a901a3934
2017-06-21 16:46:44 +00:00
Ajay Kumar Nadathur Sreenivasan
f5b77d65b4
Merge "Add missing 'pin' screen lock option" into oc-dr1-dev
2017-06-21 16:39:50 +00:00
Doris Ling
6b10f016c5
Merge "Delay showing the loading progress spinner in Managed App." into oc-dr1-dev am: 153e2b89b9
...
am: 33b2f7f466
Change-Id: I601744831f54fc2bd86a6f2c692e38ba361b3603
2017-06-21 03:35:04 +00:00
TreeHugger Robot
153e2b89b9
Merge "Delay showing the loading progress spinner in Managed App." into oc-dr1-dev
2017-06-21 03:14:29 +00:00
Salvador Martinez
cbefbc261f
Add info string to advanced battery usage page
...
This CL adds an FYI string under the battery graph to let users
know that their current estimate is coming from the enhanced
estimate provider when it is enabled.
Test: Robotests
Bug: 38399654
Change-Id: If5cd622ef0251a5a483cef870fc2261369e14845
2017-06-20 18:37:49 -07:00
Lei Yu
fe8de086ac
Merge "Update anomaly High usage" into oc-dr1-dev am: 50062193c4
...
am: 216710961b
Change-Id: Idb6368febae133d373f76cc44eae73776358511b
2017-06-21 01:10:28 +00:00
Lei Yu
5d4890d7be
Merge "Only update anomaly icon in AnomalyLoader" into oc-dr1-dev am: 65afc6f86b
...
am: 76b09dfae5
Change-Id: I640153489cb5aa42f589a4320b4de6d557ddf986
2017-06-21 01:09:45 +00:00
Lei Yu
50062193c4
Merge "Update anomaly High usage" into oc-dr1-dev
2017-06-21 01:03:42 +00:00
Lei Yu
65afc6f86b
Merge "Only update anomaly icon in AnomalyLoader" into oc-dr1-dev
2017-06-21 00:51:31 +00:00
Fan Zhang
f18fa145f2
Merge "Add logging when entity header buttons are clicked" into oc-dr1-dev am: 58d27eef9a
...
am: 1d3f5e55cd
Change-Id: I1f0bd8ed2dcedb9add6c63d1ab72ce30fb93ca70
2017-06-20 23:44:21 +00:00
jackqdyulei
485acbd26c
Merge "Hide wifi and bt in battery settings" into oc-dev am: 05777a7918
am: 9d0d6e4fcc
...
am: 4b5a6a5284
Change-Id: Ieff7f23d06a16ff225cea8bebc31c6b2e0d8ee97
2017-06-20 23:29:53 +00:00
jackqdyulei
1a1a223f7c
Merge "Refine Anomaly detail page" into oc-dr1-dev am: aad82fa4ee
...
am: 4d75698dac
Change-Id: I8c54da995f49826a982937f1c464a6e142ec43c2
2017-06-20 23:29:33 +00:00
TreeHugger Robot
58d27eef9a
Merge "Add logging when entity header buttons are clicked" into oc-dr1-dev
2017-06-20 23:23:40 +00:00
jackqdyulei
23f388076d
Make icon in Anomaly detail page have badge.
...
Anomaly detail page is using the correct API but wrong parameters.
This cl fix it by specifying the correct userId.
Bug: 38306392
Test: RunSettingsRoboTests
Change-Id: If593bf8a7881a9eecbaa62858492878235d88397
2017-06-20 16:01:17 -07:00
jackqdyulei
9d0d6e4fcc
Merge "Hide wifi and bt in battery settings" into oc-dev
...
am: 05777a7918
Change-Id: If676ec0119bebed800727f618225fd355e9da74f
2017-06-20 22:55:47 +00:00
TreeHugger Robot
05777a7918
Merge "Hide wifi and bt in battery settings" into oc-dev
2017-06-20 22:35:59 +00:00
TreeHugger Robot
aad82fa4ee
Merge "Refine Anomaly detail page" into oc-dr1-dev
2017-06-20 22:14:55 +00:00
jackqdyulei
27792b2356
Only update anomaly icon in AnomalyLoader
...
Before this cl, it will re-calculate battery percentage once we get
anomaly data, which will add screen usage data twice. This cl make it
only update anomaly icon after the anomaly detection is done.
Bug: 62803379
Test: RunSettingsRoboTests
Change-Id: I2089646679e299fa948b1f3ed21f4a13a1317aa3
2017-06-20 13:53:46 -07:00
jackqdyulei
d10608dfbb
Hide wifi and bt in battery settings
...
Hide them in app usage list but don't smear them
Bug: 62787787
Test: RunSettingsRoboTests
Change-Id: I43c15ea8a2b32f293eb859f3fead8666e45674ef
2017-06-20 13:44:52 -07:00
Maurice Lam
299985fe75
Merge "Read setup wizard theme from system properties" into oc-dr1-dev am: 1fe5766e30
...
am: 7a665455de
Change-Id: I3ba7e7df48d0dd1fb0593127dcc6b13ebefbea58
2017-06-20 20:11:58 +00:00
Doris Ling
1ffda54c00
Merge "Add Account.name to the tile's intent."
2017-06-20 19:07:54 +00:00
jackqdyulei
853ab1f891
Update anomaly High usage
...
Update the title and summary for anomaly summary preference.
Bug: 62791930
Test: RunSettingsRoboTests
Change-Id: I30ac554f227904c102d0903505e3a99966f50581
2017-06-20 11:40:29 -07:00
jackqdyulei
72c3275a66
Refine Anomaly detail page
...
1. Fix the layout issue(title not vertical horizontal)
2. Add subtitle for anomaly
Bug: 36924669
Test: RunSettingsRoboTests
Change-Id: I9b3627f09bbe37b104644d203ff8924f0faaea47
2017-06-20 11:37:55 -07:00
Fan Zhang
a74337c627
Add logging when entity header buttons are clicked
...
Change-Id: I673e5b4a6c5f8736bbec72e259a82acb3f514828
Fix: 62709062
Test: make RunSettingsRoboTests
2017-06-20 16:53:14 +00:00
Sean Stout
2bc94d6271
Add Night Light Suggestion and tests
...
Night Light settings suggestion will only show when the user
has not previously interacted with Night Light.
Bug: 37207263
Test: make ROBOTEST_FILTER=\
"(SettingsSuggestionsTest|SuggestionFeatureProviderImplTest)"\
RunSettingsRoboTests
Change-Id: I432d5fef19f5e4a52503da136b044598cb82164a
2017-06-20 09:22:56 -07:00
Matthew Fritze
6d55297f4f
Block inline-results from Settings search
...
Change-Id: I51ac1d6510bdbd6818c91836117d9ffb059cf4ab
Fixes: 62806412
Test: make RunSettingsRoboTests
2017-06-20 08:16:24 -07:00
Maurice Lam
7ffdb046a6
Read setup wizard theme from system properties
...
Test: cd tests/robotests && mma
Bug: 62060286
Change-Id: I285638736efa63314fa3e055f72ac021bce40bfe
2017-06-20 00:25:50 +00:00
Ajay Nadathur
a5f7392d51
Add missing 'pin' screen lock option
...
bug: 62206837
Test: Manual verified; Existing tests pass
Change-Id: I65985427cb012668ee23bedaf7253bec7c83fe75
2017-06-19 17:23:55 -07:00
Lei Yu
416c0ba7c2
Merge "Hook up bt related knobs to AnomalyDetectionPolicy" into oc-dr1-dev am: 43ea43a6e5
...
am: 03ea4110ae
Change-Id: I413bc39f7d78999d5a49a771c5215dc2d2d2d4d4
2017-06-19 21:45:40 +00:00
jackqdyulei
e22373ae3a
Merge "Add anomaly detector for unoptimized bt scanning" into oc-dr1-dev am: 37da099df1
...
am: ba61248568
Change-Id: I2e94b72d66f26814822dbf73865e3e4cb8b38237
2017-06-19 21:45:08 +00:00
Lei Yu
43ea43a6e5
Merge "Hook up bt related knobs to AnomalyDetectionPolicy" into oc-dr1-dev
2017-06-19 21:16:04 +00:00
TreeHugger Robot
37da099df1
Merge "Add anomaly detector for unoptimized bt scanning" into oc-dr1-dev
2017-06-19 21:13:05 +00:00
Doris Ling
cae6639b96
Add Account.name to the tile's intent.
...
For dynamic tiles that are displayed in specific account type, add the
account name to the tile's intent so that when we launch the preference,
it can associate with the correct account.
Change-Id: I25f76c1b5710f525634983d00832c9a68cdeeebb
Fix: 62365341
Test: make RunSettingsRoboTests
2017-06-19 11:16:28 -07:00
jackqdyulei
b96906a082
Hook up bt related knobs to AnomalyDetectionPolicy
...
This cl adds the following knobs:
1. bluetoothScanDetectionEnabled: whether to enable this detector
2. bluetoothScanThreshold: threshold about bt unoptimized scanning
time in background
Also add the default values for these knobs, which are:
1. bluetoothScanDetectionEnabled: true
2. bluetoothScanThreshold: 30 minutes
Bug: 36921532
Test: RunSettingsRoboTests
Change-Id: I7619453ebe3cc3f5a13b3bbd4fbf3b65a1f1d45c
2017-06-19 11:15:21 -07:00
jackqdyulei
ec8e127ed3
Add anomaly detector for unoptimized bt scanning
...
This cl detects bt anomaly by using
BluetoothUnoptimizedScanBackgroundTimer. It will report anomaly
if total duration is longer than threshold.
Future cl will hook up the threshold to server side.
Bug: 36921532
Test: RunSettingsRoboTests
Change-Id: I5d6a42b2d2c4fec94387ca59ba8e6a2f3346d047
2017-06-19 11:12:36 -07:00
Daniel Nishi
d5f1b14d28
Merge "Add more sane multi-profile app attribution." into oc-dev am: 4743423a82
am: 2de5ab35f8
...
am: 72e8d24c10
Change-Id: I4606ad001b3742b8b9eec7d21c7296b0010b2430
2017-06-19 18:11:59 +00:00
Julia Reynolds
c429ffb592
Merge "Migrate from setting to NotificationManager."
2017-06-19 17:59:03 +00:00
Doris Ling
e9060a3cb6
Delay showing the loading progress spinner in Managed App.
...
In warm load, the app list is populated much faster, and we should not
show the spinner if we can show the app list immediately.
Adding 100ms delay in showing the loading container. If the app list is
ready, show the list container directly without first showing the
loading container.
Change-Id: I8b3ea88d2382ece9226d5c7734fd1aa406160cf2
Fix: 36375109
Test: make RunSettingsRoboTests
2017-06-19 10:57:11 -07:00
Daniel Nishi
2de5ab35f8
Merge "Add more sane multi-profile app attribution." into oc-dev
...
am: 4743423a82
Change-Id: I59630cf77da700cd5a159e11ac6f9818f1303199
2017-06-19 17:55:28 +00:00
Lei Yu
c70c79aa5c
Merge "Move "Received files" in BluetoothSettings" into oc-dr1-dev am: d55579889a
...
am: 5350ec84c6
Change-Id: I266271d5514f03bbb77fcb8c07cb53387fb1ec39
2017-06-19 17:47:35 +00:00
Daniel Nishi
4743423a82
Merge "Add more sane multi-profile app attribution." into oc-dev
2017-06-19 17:45:31 +00:00
Lei Yu
d55579889a
Merge "Move "Received files" in BluetoothSettings" into oc-dr1-dev
2017-06-19 17:03:29 +00:00
Maurice Lam
33cad22f4f
Merge "Make confirm lock screen use the right theme" into oc-dr1-dev am: 98a9d341c8
...
am: 9b8f36e359
Change-Id: I08f5a9da6f6fac3206a5bb6df2e2106e91033863
2017-06-16 22:42:26 +00:00
Fan Zhang
fdcb8b1dc8
Hide app info button from app notification settings header
...
Change-Id: I10803e78fe4f30c2d84ec795c343ed660aab7762
Bug: 62708686
Test: visual and runtest --path AppNotificationSettingsTest.java
(cherry picked from commit 5d811c40d3
)
2017-06-16 22:30:31 +00:00
Fan Zhang
470e79a286
Misc fixes for notification
...
- Tweak alignment for footer preference icon and text
- Hide app info button from app notification settings header
Merged-In: I10803e78fe4f30c2d84ec795c343ed660aab7762
Change-Id: Ia95fc30025c042635ad6467c7fde51991b0c47d9
Fix: 62138362
Fix: 62708686
Test: visual and runtest --path AppNotificationSettingsTest.java
2017-06-16 15:27:51 -07:00
TreeHugger Robot
d140cad1bc
Merge "Hide app info button from app notification settings header"
2017-06-16 22:26:09 +00:00
TreeHugger Robot
98a9d341c8
Merge "Make confirm lock screen use the right theme" into oc-dr1-dev
2017-06-16 22:08:06 +00:00
Lei Yu
69050d2bda
Merge "Update wakelock detector" into oc-dr1-dev am: e2530c2f62
...
am: 25371b152c
Change-Id: I980c6b356862e9d8af46e36e08f3d2cc07d5cf65
2017-06-16 21:12:21 +00:00