Commit Graph

38218 Commits

Author SHA1 Message Date
Antony Sargent
c608cfcceb Merge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev
am: 21423623bd

Change-Id: I9f819e3f4bf0f785f9a42592a9a37955df8e8103
2017-07-07 02:35:24 +00:00
TreeHugger Robot
d432e07e91 Merge "Disable suggestion on low memory devices" 2017-07-07 02:17:29 +00:00
TreeHugger Robot
494f82e9b0 Merge "Reduce spacing in condition cards." into oc-dr1-dev 2017-07-07 02:17:15 +00:00
TreeHugger Robot
690accadc7 Merge "Update Anomaly detection framework" into oc-dr1-dev 2017-07-07 02:13:37 +00:00
TreeHugger Robot
4545d636ec Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev 2017-07-07 02:02:51 +00:00
Rajeev Kumar
9b6c42557b Merge "Recycle TypedArray in DividerPreference.java" 2017-07-07 02:02:27 +00:00
Christine Franks
8767dd7461 Prevent clipping of SeekBar thumb
Bug: 63406092
Test: manual - purely a UI change
Change-Id: I1fbf7cba6d3c172a7e04de36a665dcf78b629f00
2017-07-06 18:41:46 -07:00
Stephen Chen
b4d72297ed Change strings for settings toggles when scorer is unset or unsupported.
Bug: 62343859
Test: make RunSettingsRoboTests -j40
Change-Id: I22cba1b22af0defc3b53ce42ef2b5bb02b6fef49
2017-07-06 18:29:57 -07:00
TreeHugger Robot
c2002db8cc Merge "Update the gesture video container background color." into oc-dr1-dev 2017-07-07 01:26:48 +00:00
Rajeev Kumar
bc393be977 Some import cleanups.
1. Get rid of unused import.
2. Fix import order.

Change-Id: I278949d95242682fd277adc2c71bc892e58a8533
2017-07-06 17:19:50 -07:00
TreeHugger Robot
4fffc20ada Merge "Change empty apn type in user entered APN to non-read-only types." into oc-dr1-dev 2017-07-06 23:50:28 +00:00
TreeHugger Robot
21423623bd Merge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev 2017-07-06 23:46:39 +00:00
Andrew Sapperstein
a22768cc1e Search bar polish
Updated main page text color, text size, and search bar height.
Also updated results page text size.

Change-Id: Ic4a390136b854741a73e99431b8dd9452871dd2c
Fixes: 63397599
Fixes: 63394285
Test: robotests and manual
2017-07-06 16:37:00 -07:00
Rajeev Kumar
a93b1b6175 Recycle TypedArray in DividerPreference.java
1. Make sure 'TypedArray' is recycled after use with '#recycle()'  in DividerPreference.java class
2. Get rid of an unused import from DividerPreference.java class

Test: make RunSettingsRoboTests -j40
Change-Id: I3baf7d51b5112583b9605fc6ec0c81f40ba76ee9
2017-07-06 16:25:08 -07:00
Doris Ling
b91e454050 Reduce spacing in condition cards.
- decrease space between title and summary by 12dp.
- decrease space below button by 7dp.

Change-Id: I9caa0507b89367960fb94bf4af07cdd5dd1dbedf
Fix: 63394014
Test: Visual
2017-07-06 16:15:37 -07:00
Fan Zhang
1e0b51218b Disable suggestion on low memory devices
Change-Id: I9d22170845661fc8b48b116c9b09f758926c096f
Fix: 63157777
Test: make RunSettingsRoboTests
2017-07-06 16:13:28 -07:00
Matthew Fritze
473b6b45de Add public intent filters to indexing
Adds a public intent action to the index so that intents
can be created for callers outside of settings.

Change-Id: I9f87263f213b6de40542e8735c931ee1f0d82094
Fixes: 63136008
Test: make RunSettingsRoboTests
2017-07-06 23:12:21 +00:00
jackqdyulei
88b580a0a9 Create BatterySaverReceiver
Cherry-picked from oc-dev

This cl elicits BatterySaverReceiver that listen to the change about
battery state and battery saver state.

BatterySaverController and BatterySaverSettings will use this receiver
to update the UI.

Bug: 32410757
Test: RunSettingsRoboTests
Change-Id: Ia92c6776985b89fe6a8d5b8d80898e502942b9b5
2017-07-06 16:00:20 -07:00
jackqdyulei
bfc2b11b93 Update Anomaly detection framework
This cl make it could have multiple actions for each anomaly type.

This includes:
1. Add field "targetSdkVersion", "bgRestrictionEnabled" in Anomaly
2. Add new action which includes "force stop" and "background check"
3. Add "sdkVersion" and "bgRestrictionEnabled" method in BatteryUtils
4. Update BackgroundCheckAction to check sdkVersion first
5. Update serveral tests and add new test

Bug: 63037765
Test: RunSettingsRoboTests
Change-Id: Iea7a131ee57d501f7737ae4a3ba672d948d05cd8
2017-07-06 15:53:28 -07:00
Android Build Merger (Role)
120dbe43db Merge "Merge "Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev am: 8218511fb7" into oc-dr1-dev-plus-aosp am: 7e410cc787" 2017-07-06 22:34:15 +00:00
Maurice Lam
f43bbee2cb Merge "Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev am: 8218511fb7" into oc-dr1-dev-plus-aosp
am: 7e410cc787

Change-Id: Icec778e5dc5095ebeea441b75cc41a662f70cb32
2017-07-06 22:33:59 +00:00
Doris Ling
e435fd7104 Increase suggestion/condition card width.
- decrease the padding for the suggestion/condition container so that
the card width matches that of the search box above.

Change-Id: I24aca5290ae5f7f457b95dbd51e5b8420327c863
Fix: 63395021
Test: visual
2017-07-06 15:33:55 -07:00
Android Build Merger (Role)
2232a7b9de Merge "Merge "Merge "Add util method to get battery stats" into oc-dr1-dev am: 55ad60d1ff" into oc-dr1-dev-plus-aosp am: 66037a6ae6" 2017-07-06 22:33:51 +00:00
Maurice Lam
99e0bbc14d Merge "Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev am: 8218511fb7" into oc-dr1-dev-plus-aosp
am: 7e410cc787

Change-Id: Id5d5f187d588708394144eaf02004c584c97dbac
2017-07-06 22:33:30 +00:00
Matthew Fritze
0f65bff283 Merge "Merge "Add util method to get battery stats" into oc-dr1-dev am: 55ad60d1ff" into oc-dr1-dev-plus-aosp
am: 66037a6ae6

Change-Id: Ifeaeaf53a18932fcaa417fd97b69bf317e109a7b
2017-07-06 22:33:16 +00:00
Matthew Fritze
5352e086f4 Merge "Merge "Add util method to get battery stats" into oc-dr1-dev am: 55ad60d1ff" into oc-dr1-dev-plus-aosp
am: 66037a6ae6

Change-Id: I0319d997e7f7953b7aa757b217ff792ebcc19f2e
2017-07-06 22:32:42 +00:00
Matthew Fritze
5883606041 Merge "Add util method to get battery stats" into oc-dr1-dev am: 55ad60d1ff
am: 3b32306c54

Change-Id: Ibd2fc5828da10cfdc1356dcb19aa25c36565e1aa
2017-07-06 22:32:01 +00:00
Daniel Nishi
959f0d59fc Merge "Shrink the music icon." into oc-dr1-dev am: e78190d124
am: a22ecac2f9

Change-Id: Ic5787c194d73c8de47f554f506c7601df00d55de
2017-07-06 22:31:34 +00:00
Daniel Nishi
b41f08ce10 Merge "Update the Storage icons." into oc-dr1-dev am: fa47cebd55
am: 5f27569478

Change-Id: Ibd5bf197507154c7c45b875ab46350c70b6f3ee8
2017-07-06 22:30:55 +00:00
TreeHugger Robot
e663befae4 Merge "App header cleanup" 2017-07-06 22:22:52 +00:00
Android Build Merger (Role)
7e410cc787 Merge "Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev am: 8218511fb7" into oc-dr1-dev-plus-aosp 2017-07-06 22:12:03 +00:00
Maurice Lam
1fd8a6d987 Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev
am: 8218511fb7

Change-Id: I48b40d6158f4ebeaaaef6b8d2baf72bf8edf226a
2017-07-06 22:11:52 +00:00
Android Build Merger (Role)
66037a6ae6 Merge "Merge "Add util method to get battery stats" into oc-dr1-dev am: 55ad60d1ff" into oc-dr1-dev-plus-aosp 2017-07-06 22:11:44 +00:00
Matthew Fritze
956f52d606 Merge "Add util method to get battery stats" into oc-dr1-dev
am: 55ad60d1ff

Change-Id: I6aa6178f142bcf0bb67957c459d86ec0618c7bd0
2017-07-06 22:11:11 +00:00
Matthew Fritze
3b32306c54 Merge "Add util method to get battery stats" into oc-dr1-dev
am: 55ad60d1ff

Change-Id: I02308e6829fbc1a3764efb8a09dfc9d576428775
2017-07-06 22:11:04 +00:00
Daniel Nishi
a22ecac2f9 Merge "Shrink the music icon." into oc-dr1-dev
am: e78190d124

Change-Id: I21af42927fa117c68a4979285213361a3c70fa56
2017-07-06 22:10:37 +00:00
Daniel Nishi
5f27569478 Merge "Update the Storage icons." into oc-dr1-dev
am: fa47cebd55

Change-Id: I2a393ea0aa4274c23cf9c75fdc655d7436d695d3
2017-07-06 22:10:18 +00:00
TreeHugger Robot
8218511fb7 Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev 2017-07-06 22:08:51 +00:00
TreeHugger Robot
55ad60d1ff Merge "Add util method to get battery stats" into oc-dr1-dev 2017-07-06 21:58:33 +00:00
Daniel Nishi
e78190d124 Merge "Shrink the music icon." into oc-dr1-dev 2017-07-06 21:58:01 +00:00
Ajay Nadathur
3d9fffed16 Screen lock type metrics are not reported if user goes back
bug: 63116381
Test: Manually tested and verified that metrics are passed back to
setupwizard. Also added robolectric tests
Change-Id: I9d095754addc34121a2a0a12b3e5d1479ff15a78
2017-07-06 14:56:34 -07:00
Daniel Nishi
fa47cebd55 Merge "Update the Storage icons." into oc-dr1-dev 2017-07-06 21:50:49 +00:00
Andrew Sapperstein
ccbb4cfc2c Use config_headlineFontFamily for password screens.
These screens are used whenever setting or confirming the
lockscreen PIN or password. Set them to a consistent textSize (24sp)
and a consistent fontFamily.

Would have set the fontFamily in the style, but unfortunately
setInputType is called on the TextViews after inflation which blows
away the fontFamily. Instead, we set it in code right after that
call.

Change-Id: I77c3f94e2b1ce6d1f19697394c5caa09aac423b0
Fixes: 62873478
Test: manual
2017-07-06 14:30:28 -07:00
Rajeev Kumar
190ec88a6f Merge "1. Fix the apostrophe escaping for few strings in Settings app 2. Fix few indentation issues in strings.xml file" 2017-07-06 21:29:26 +00:00
Fan Zhang
3903e15de2 Fix a crash in AppInfoBase where appEntry is invalid am: 2c6634a8a9
am: 4a1245e8c1

Change-Id: Ibf609a79a19fca98554b3ec60940163674125af9
2017-07-06 20:36:05 +00:00
Fan Zhang
75bee9bf98 App header cleanup
- Refactor the entity header layout to use LinearLayout and add id to
  content area
- Remove now unused AppHeader class
- Make entire icon+text area clickable and link to app info page
  Refactor the binding logic from bindButton to its own method.
- Remove unused MultiLinePreference

Fix: 62705377
Test: make RunSettingsRoboTests

Change-Id: I6db554695410e71b669f6fdba29d98fedc3364b9
2017-07-06 13:23:38 -07:00
Phil Weaver
e5cd8ef7b9 Merge "Migrate to new overlay-stopping flag" 2017-07-06 20:07:33 +00:00
Fan Zhang
4a1245e8c1 Fix a crash in AppInfoBase where appEntry is invalid
am: 2c6634a8a9

Change-Id: I6a3bc29c8a1863b320bfe3f07a40f85ddeb676fd
2017-07-06 19:58:06 +00:00
TreeHugger Robot
860dc6d448 Merge "Change storage migration to use quota APIs." 2017-07-06 19:33:53 +00:00
Rajeev Kumar
88f5dd165d 1. Fix the apostrophe escaping for few strings in Settings app
2. Fix few indentation issues in strings.xml file

Test: Manually tested it.
Change-Id: I8f3e7c213614c26fc835b646289ce7fd01d5b626
2017-07-06 12:32:11 -07:00