Commit Graph

18373 Commits

Author SHA1 Message Date
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
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
2aecf00ef1 Merge "FingerprintSettings should handle FINGERPRINT_ERROR_LOCKOUT_PERMANENT" into oc-dr1-dev am: b4bbc52e27
am: 57d52c6b50

Change-Id: Iec562ad11b1ca6488dff21bac38c4983b2db1ca4
2017-06-20 23:47:27 +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
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
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
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
7de9af3b8f Merge "Hide wifi and bt in battery settings" into oc-dev
am: 05777a7918

Change-Id: I2c12178379cfed44d6007533f420c7611038bfed
2017-06-20 23:03:00 +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
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
Daniel Nishi
4afc3f2951 Don't accordion the progress bar out.
This stops an animation from triggering on the storage settings screen
when entering it. Because we don't load the screen until data has
loaded, we run no risk of showing an uninitialized progress bar. Thus,
we can just always show the progress bar.

Change-Id: I31814a12b9c39a33fa0fbbc4826eb4138cf09a74
Fixes: 62549522
Test: Manual
2017-06-20 13:56:04 -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
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
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
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
Kevin Chyn
41acc69edf Enable Assist Gesture Settings to launch from action intent
Bug: 62540322

Test: adb shell am start -a android.settings.ASSIST_GESTURE_SETTINGS

Change-Id: I0aa0cc3ba87412626f6c24639efdd5e622b995e7
2017-06-20 11:07:46 -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
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
Marie Janssen
426903d155 Bluetooth: Make notifications local-only
This will prevent them from showing up on external devices where they
would be less than useful.

Test: connect to watch and pair a device
Bug: 34612389
Change-Id: I8b02c20200ce78a73967b8121cf7d5653b68f356
2017-06-19 16:11:33 -07:00
TreeHugger Robot
2611734af5 Merge "Keep candidates in radio button picker UI ordered" 2017-06-19 23:07:19 +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
jackqdyulei
9b3d2d3ea4 Use BLUETOOTH_PAIRING metric in pairing page
Bug: 38383542
Test: Build
Change-Id: Ibc8acfa7ad7766b112389509971a36d1a4ce2394
2017-06-19 13:19:23 -07: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