Lei Yu
216710961b
Merge "Update anomaly High usage" into oc-dr1-dev
...
am: 50062193c4
Change-Id: I5de568b3397dc18ee800aa866b883fe33dcb3d95
2017-06-21 01:06:55 +00:00
Lei Yu
50062193c4
Merge "Update anomaly High usage" into oc-dr1-dev
2017-06-21 01:03:42 +00:00
Lei Yu
76b09dfae5
Merge "Only update anomaly icon in AnomalyLoader" into oc-dr1-dev
...
am: 65afc6f86b
Change-Id: Ie4169d421e4c31e0e4eb780a9b1c8b3921db3fd4
2017-06-21 01:02:56 +00:00
Lei Yu
65afc6f86b
Merge "Only update anomaly icon in AnomalyLoader" into oc-dr1-dev
2017-06-21 00:51:31 +00:00
Kevin Chyn
57d52c6b50
Merge "FingerprintSettings should handle FINGERPRINT_ERROR_LOCKOUT_PERMANENT" into oc-dr1-dev
...
am: b4bbc52e27
Change-Id: I7d9ba9fb5b1bd75a3565963bc13b82606761970b
2017-06-20 23:38:12 +00:00
TreeHugger Robot
b4bbc52e27
Merge "FingerprintSettings should handle FINGERPRINT_ERROR_LOCKOUT_PERMANENT" into oc-dr1-dev
2017-06-20 23:36:27 +00:00
Fan Zhang
1d3f5e55cd
Merge "Add logging when entity header buttons are clicked" into oc-dr1-dev
...
am: 58d27eef9a
Change-Id: I352415bd83dccd9f86cf9017816d5858b0afbedb
2017-06-20 23:34:24 +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
4b5a6a5284
Merge "Hide wifi and bt in battery settings" into oc-dev am: 05777a7918
...
am: 9d0d6e4fcc
Change-Id: If6960f114f3d42e95061a8e832f9b99695c2bd7f
2017-06-20 23:05:34 +00: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
jackqdyulei
4d75698dac
Merge "Refine Anomaly detail page" into oc-dr1-dev
...
am: aad82fa4ee
Change-Id: I0537ea1cd0c318d7c03a3a40865dcda7ea126c6b
2017-06-20 22:36:50 +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
Kevin Chyn
00d21e3c75
FingerprintSettings should handle FINGERPRINT_ERROR_LOCKOUT_PERMANENT
...
Fixes: 62681560
Test: open fingerprint settings, use an unenrolled fingerprint to
authenticate 20 times in a row. Look at logs and it shouldn't be flooded
with fingerprint logs
Change-Id: I59051e8d3a9e040bcd894e956abcbf0497838988
2017-06-20 14:24:43 -07: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
7a665455de
Merge "Read setup wizard theme from system properties" into oc-dr1-dev
...
am: 1fe5766e30
Change-Id: I0e8335e937342bbb1639c24cb44b25639e005b32
2017-06-20 20:07:30 +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
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
Fan Zhang
f66702c930
Merge "Add help url placeholder for SimLock settings" into oc-dr1-dev
...
am: 6dfafa5d95
Change-Id: I9f17e8f5f3ffe084567c7be7743cc7b62a4e482d
2017-06-19 23:33:13 +00:00
TreeHugger Robot
6dfafa5d95
Merge "Add help url placeholder for SimLock settings" into oc-dr1-dev
2017-06-19 23:21:13 +00:00
Lei Yu
03ea4110ae
Merge "Hook up bt related knobs to AnomalyDetectionPolicy" into oc-dr1-dev
...
am: 43ea43a6e5
Change-Id: Ie2e58d02d9fe1a68a8583ad31158df68384cfa91
2017-06-19 21:30:18 +00:00
jackqdyulei
ba61248568
Merge "Add anomaly detector for unoptimized bt scanning" into oc-dr1-dev
...
am: 37da099df1
Change-Id: I76dccf645d50c1160010ad59607a4ffeba6a3035
2017-06-19 21:29:32 +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
Fan Zhang
b91a26b356
Add help url placeholder for SimLock settings
...
Bug: 38412798
Test: manual
Change-Id: I77a8fa89c2b16da9269b40c5efcb6d0f868d5b76
2017-06-19 21:11:48 +00: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
72e8d24c10
Merge "Add more sane multi-profile app attribution." into oc-dev am: 4743423a82
...
am: 2de5ab35f8
Change-Id: Ib952ba6b05373995a95eac4955f75b3347c368a7
2017-06-19 18:00:36 +00: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
Daniel Nishi
4743423a82
Merge "Add more sane multi-profile app attribution." into oc-dev
2017-06-19 17:45:31 +00:00
TreeHugger Robot
e5493808fd
Merge "Notification settings update." into oc-dev
2017-06-19 17:34:41 +00:00
gaochong
aedbdd0df5
Merge "Fix Screen Magnification recursive draw" am: 4e7846fbe4 am: db233c6e88
...
am: dd3945eca5
Change-Id: Idb43358ecaa0ab0b04c59f255c75476857a5fb5d
2017-06-19 17:24:00 +00:00
Lei Yu
5350ec84c6
Merge "Move "Received files" in BluetoothSettings" into oc-dr1-dev
...
am: d55579889a
Change-Id: I5c689e2f50f06c6501a771dd957e4408e888a092
2017-06-19 17:22:57 +00:00
gaochong
dd3945eca5
Merge "Fix Screen Magnification recursive draw" am: 4e7846fbe4
...
am: db233c6e88
Change-Id: If8a23a012e0b7a82dc0c6a7d349a15310b4eb43e
2017-06-19 17:12:41 +00:00
Lei Yu
d55579889a
Merge "Move "Received files" in BluetoothSettings" into oc-dr1-dev
2017-06-19 17:03:29 +00:00
Treehugger Robot
4e7846fbe4
Merge "Fix Screen Magnification recursive draw"
2017-06-19 17:00:09 +00:00
Alison Cichowlas
04f77b3a6f
Notification settings update.
...
- Use "what happens" descriptors instead of priority level names in summary
- Group some settings under Advanced header.
Bug: 62705435
Test: make RunSettingsRoboTests; manual verification
Merged-In: Iac31575d894d7f3532c8e631ee9d77ee21830b29
Change-Id: Iac31575d894d7f3532c8e631ee9d77ee21830b29
2017-06-19 15:15:50 +00:00
Alison Cichowlas
eeda4ae540
Merge "Notification settings update." into oc-dr1-dev
...
am: cd9224a058
Change-Id: I22d96e1d02f9a5a19f0eae1db368ad71d9de9b7b
2017-06-19 15:10:02 +00:00
Fan Zhang
8d62516e89
Merge "Misc fixes for notification" into oc-dev
...
am: e3f322dfc7
Change-Id: I0847813623ad35b38eafc73a69f02d45208e8d32
2017-06-19 14:47:34 +00:00
Alison Cichowlas
7b0a8b6815
Notification settings update.
...
- Use "what happens" descriptors instead of priority level names in summary
- Group some settings under Advanced header.
Bug: 62705435
Test: make RunSettingsRoboTests; manual verification
Change-Id: Iac31575d894d7f3532c8e631ee9d77ee21830b29
2017-06-19 08:53:45 -04:00
gaochong
f4372d914e
Fix Screen Magnification recursive draw
...
When invoke the method View#setLayoutParams(), ViewRootImpl
will run method ViewRootImpl#performTraversals(). And
OnGlobalLayoutListener#onGlobalLayout() will be invoked.
When the method View#setLayoutParams() is invoked in
OnGlobalLayoutListener#onGlobalLayout(), there will be recursive
call. The view will be draw on and on. This situation happen in
Screen Magnification. It should remove the listener after
work completion.
Bug: https://issuetracker.google.com/issues/62613000
Test: use systrace when enter Screen Magnification,and view the
"traversal" times.
Change-Id: I01b1fcccb8b915ec436fb95f1d30c8ec0c0de0a9
Signed-off-by: gaochong <gaochong@xiaomi.com >
2017-06-19 17:26:18 +08:00
Fan Zhang
49347cfb22
Merge "Hide app info button from app notification settings header" into oc-dr1-dev
...
am: 9b4bb95e82
Change-Id: Ie9d8419b88c3bb97eca24e6037c8e46ab8fc8489
2017-06-17 00:50:49 +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
Maurice Lam
9b8f36e359
Merge "Make confirm lock screen use the right theme" into oc-dr1-dev
...
am: 98a9d341c8
Change-Id: Iac233acde24c37fd7f93faba312bc5d894bb224d
2017-06-16 22:17:18 +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
25371b152c
Merge "Update wakelock detector" into oc-dr1-dev
...
am: e2530c2f62
Change-Id: Ib3e2aef02b5b3484ffbc43648210781d39e89a55
2017-06-16 20:52:09 +00:00