Commit Graph

37172 Commits

Author SHA1 Message Date
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
Fan Zhang
c97e9bc39d Merge "Add help url placeholder for SimLock settings" into oc-dr1-dev am: 6dfafa5d95
am: f66702c930

Change-Id: Iaa8dde8ae93cf895001505e84907dfa60b9079f1
2017-06-19 23:45:43 +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
TreeHugger Robot
2611734af5 Merge "Keep candidates in radio button picker UI ordered" 2017-06-19 23:07:19 +00:00
Fan Zhang
d6e9692dae Merge "Update gesture title" into oc-dr1-dev am: e54e0d394e
am: d4402d221b

Change-Id: Iec3e06a5e9959d104f9c6f225adc2d5979e7ed92
2017-06-19 22:13:11 +00:00
Fan Zhang
d4402d221b Merge "Update gesture title" into oc-dr1-dev
am: e54e0d394e

Change-Id: I1684228f7223342491233f1a68b3c5d5f9ef85ed
2017-06-19 22:07:03 +00:00
TreeHugger Robot
e54e0d394e Merge "Update gesture title" into oc-dr1-dev 2017-06-19 21:58:59 +00: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
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
Fan Zhang
a9fd6ed8ed Keep candidates in radio button picker UI ordered
We will use the order from candidate list.

Change-Id: I3f5bfb9d603d6c926fddd4711e2899df10cb72ac
Fix: 37542504
Test: make RunSettingsRoboTests
2017-06-19 13:35:51 -07:00
Fan Zhang
7f530922f8 Update gesture title
Change-Id: I95de69c0b7a8c1bda4781c33aaf025b3ec5c275b
Fix: 36685646
Test: visual
2017-06-19 19:52:45 +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
78d1808ed3 Merge "Add more sane multi-profile app attribution." into oc-dev am: 4743423a82 am: f2e4449f6f
am: d641c064af

Change-Id: Idf9929d54b2625a7561ccd44d251fb68b99bb8fe
2017-06-19 18:12:24 +00: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
Alison Cichowlas
3f5b1d660e Merge "Notification settings update." into oc-dev am: e5493808fd -s ours am: e79681c5b4 -s ours
am: 2338ef6794  -s ours

Change-Id: I937d3122c5606d13805b53c1e7b9ac73590f8e0a
2017-06-19 18:11:30 +00:00
Daniel Nishi
d641c064af Merge "Add more sane multi-profile app attribution." into oc-dev am: 4743423a82
am: f2e4449f6f

Change-Id: I51f05270e35631473f127018cc626587c56b45ce
2017-06-19 18:01:18 +00: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
Alison Cichowlas
b806580e87 Merge "Notification settings update." into oc-dev am: e5493808fd am: 7cdc518674 -s ours
am: f1ca862c5a  -s ours

Change-Id: Ia3c60d6751471431432c7b27206b59b22c417958
2017-06-19 18:00:21 +00:00
Alison Cichowlas
2338ef6794 Merge "Notification settings update." into oc-dev am: e5493808fd -s ours
am: e79681c5b4  -s ours

Change-Id: I474100a5e3bfad5ad9e9f09b44a8bf0fdc0b4814
2017-06-19 17:59:58 +00:00
Julia Reynolds
c429ffb592 Merge "Migrate from setting to NotificationManager." 2017-06-19 17:59:03 +00:00
Daniel Nishi
f2e4449f6f Merge "Add more sane multi-profile app attribution." into oc-dev
am: 4743423a82

Change-Id: Ia2c95906c0c526f426deaa243ff075ce70bee1fc
2017-06-19 17:55:30 +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
Alison Cichowlas
f1ca862c5a Merge "Notification settings update." into oc-dev am: e5493808fd
am: 7cdc518674  -s ours

Change-Id: Ia4b989c4b3459d7ea1b76fa167f034844fc8159a
2017-06-19 17:54:47 +00:00
Alison Cichowlas
e79681c5b4 Merge "Notification settings update." into oc-dev
am: e5493808fd  -s ours

Change-Id: I43f0d112d2a5bbd57995e42d50f5877e905dfe20
2017-06-19 17:49:22 +00:00
Alison Cichowlas
7cdc518674 Merge "Notification settings update." into oc-dev
am: e5493808fd

Change-Id: I0d1b48669d85b6c1289c50a2a84aaa2dc292ea2a
2017-06-19 17:49:20 +00:00
gaochong
be773e80e1 Merge "Fix Screen Magnification recursive draw" am: 4e7846fbe4 am: db233c6e88 am: dd3945eca5
am: aedbdd0df5

Change-Id: I79dff482bf2e1b0013c9641b8d05c0b38e0663a5
2017-06-19 17:48:52 +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
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
gaochong
db233c6e88 Merge "Fix Screen Magnification recursive draw"
am: 4e7846fbe4

Change-Id: I4890ba0d33dd9245f1393c59c77531f0597ff6ff
2017-06-19 17:07:37 +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
1a74eefb54 Merge "Notification settings update." into oc-dr1-dev am: cd9224a058
am: eeda4ae540

Change-Id: I3139992a754e69e8ef1e2da858403a0e3b3f3b79
2017-06-19 15:15:31 +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
Alison Cichowlas
cd9224a058 Merge "Notification settings update." into oc-dr1-dev 2017-06-19 15:02:17 +00:00
Fan Zhang
88a25b76d1 Merge "Misc fixes for notification" into oc-dev am: e3f322dfc7 am: 8d62516e89 -s ours
am: 411e99a793  -s ours

Change-Id: Iac2feeee7ab758c9534522bf49b8aaa7f20620aa
2017-06-19 14:59:03 +00:00
Fan Zhang
558ed199b2 Merge "Misc fixes for notification" into oc-dev am: e3f322dfc7 -s ours am: c15dd4ee9b -s ours
am: 5b3bc0e1d8  -s ours

Change-Id: I09fcb2c2270b17a4de1e2f19b5c6f0cf37bd0758
2017-06-19 14:58:33 +00:00
Fan Zhang
411e99a793 Merge "Misc fixes for notification" into oc-dev am: e3f322dfc7
am: 8d62516e89  -s ours

Change-Id: I64db01eb7d3d9f2fd6e951383b62f79032c7f9e4
2017-06-19 14:54:00 +00:00
Fan Zhang
5b3bc0e1d8 Merge "Misc fixes for notification" into oc-dev am: e3f322dfc7 -s ours
am: c15dd4ee9b  -s ours

Change-Id: Ib0cbd32dc877e3863de88bdebd26c693235e1c1e
2017-06-19 14:53:02 +00:00