OSDN Git Service
Bill Yi [Tue, 11 Jul 2017 03:32:33 +0000 (03:32 +0000)]
Import translations. DO NOT MERGE am:
f812f94216 -s ours
am:
bc4faa93e2 -s ours
Change-Id: I0de19fee01ce891ca72ed5276186cb18f3e49566
Bill Yi [Tue, 11 Jul 2017 03:30:02 +0000 (03:30 +0000)]
Import translations. DO NOT MERGE
am:
f812f94216 -s ours
Change-Id: If3bc9ec99810524fde2cf69d6a43f4995ed9306a
Ajay Nadathur [Tue, 11 Jul 2017 00:05:53 +0000 (00:05 +0000)]
Merge "Update notification redaction interstitial according to spec" into oc-dr1-dev
am:
73ae54a63a
Change-Id: I1650614a64463f537edb752d58bc0c05ddf3d5b6
TreeHugger Robot [Tue, 11 Jul 2017 00:00:08 +0000 (00:00 +0000)]
Merge "Update notification redaction interstitial according to spec" into oc-dr1-dev
Bill Yi [Mon, 10 Jul 2017 23:49:52 +0000 (16:49 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ifb8d0e63a8150656a55bb1b2adf5748c75a10224
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Matthew Fritze [Mon, 10 Jul 2017 23:32:11 +0000 (23:32 +0000)]
Merge "Add location as a Inline list payload" into oc-dr1-dev
am:
9e2984b035
Change-Id: Iad7aa04e35d7853ade051e5a711632b20b2fbcbe
TreeHugger Robot [Mon, 10 Jul 2017 23:23:13 +0000 (23:23 +0000)]
Merge "Add location as a Inline list payload" into oc-dr1-dev
Fan Zhang [Mon, 10 Jul 2017 21:31:39 +0000 (21:31 +0000)]
Merge "Support multi line title for switch and edittext preferences" into oc-dr1-dev
am:
5d3f6d566b
Change-Id: Ifd5f8aae85864e2a264ea76e28700cf82a0bfac5
Ajay Nadathur [Mon, 10 Jul 2017 21:21:10 +0000 (14:21 -0700)]
Update notification redaction interstitial according to spec
bug:
38395294
Test: Manually tested and verified
Change-Id: Iddd53af604c65bb8e40c081f9538535bd3043ad4
TreeHugger Robot [Mon, 10 Jul 2017 21:23:15 +0000 (21:23 +0000)]
Merge "Support multi line title for switch and edittext preferences" into oc-dr1-dev
jackqdyulei [Mon, 10 Jul 2017 20:22:03 +0000 (20:22 +0000)]
Init BatteryUtils in constructor
am:
116fec5b25
Change-Id: I74636f77f8ee44576894ed25eb48212386f8ee40
Fan Zhang [Mon, 10 Jul 2017 19:08:04 +0000 (12:08 -0700)]
Support multi line title for switch and edittext preferences
Change-Id: I898288a1e8c9d3bedae3f5f3269d4aa0fd2308f6
Fix:
63509156
Test: visual
kun.tang [Mon, 10 Jul 2017 19:26:03 +0000 (19:26 +0000)]
Merge "Fix Phone crash when rorate screen on SimStatus." am:
3cbae7d6b5 am:
d34ce65e22
am:
a482b155f2
Change-Id: I31ae1b4a34bd61bceb607d2fa4c6176bbe27af75
kun.tang [Mon, 10 Jul 2017 19:20:58 +0000 (19:20 +0000)]
Merge "Fix Phone crash when rorate screen on SimStatus." am:
3cbae7d6b5
am:
d34ce65e22
Change-Id: Ic806452e621c14431576fe4c5ed848ae005122c1
kun.tang [Mon, 10 Jul 2017 19:17:03 +0000 (19:17 +0000)]
Merge "Fix Phone crash when rorate screen on SimStatus."
am:
3cbae7d6b5
Change-Id: I3c968a9bbd7bb687aae53d5d74a9a2b3e38bcbae
Treehugger Robot [Mon, 10 Jul 2017 19:08:11 +0000 (19:08 +0000)]
Merge "Fix Phone crash when rorate screen on SimStatus."
Matthew Fritze [Fri, 7 Jul 2017 15:04:42 +0000 (08:04 -0700)]
Add location as a Inline list payload
The inline payload is added to security settings because
security settings indexes the setting with the key
"location" which corresponds with the correct
PreferenceController, LocationPreferenceController.
However, we suppress the Location search result, so to
avoid confusion later, we don't include the ResultPayload
in the search indexing.
Bug:
62022517
Test: make RunSettingsRoboTests
Change-Id: Ica9b775fe7b43259e651f95b079b8cccb29d0ea8
Merged-In: Ic5515d38064498ae908f4cefedfeb3c2a2af449c
jackqdyulei [Mon, 10 Jul 2017 18:00:05 +0000 (11:00 -0700)]
Init BatteryUtils in constructor
In this case we won't have the NPE.
Bug:
63526637
Test: RunSettingsRoboTests
Change-Id: I20375e535ba07deddacf74052f31476e0cb28e56
Christine Franks [Mon, 10 Jul 2017 13:57:38 +0000 (13:57 +0000)]
Merge "Prevent clipping of SeekBar thumb" into oc-dr1-dev
am:
8dc795d64b
Change-Id: Ia2ed1750a996d56255f5eecb42b2607d65c5e8d0
Christine Franks [Mon, 10 Jul 2017 13:51:39 +0000 (13:51 +0000)]
Merge "Prevent clipping of SeekBar thumb" into oc-dr1-dev
Sunny Goyal [Sat, 8 Jul 2017 23:05:38 +0000 (23:05 +0000)]
Merge "Adding key to individual entries in ManagedServiceSettings so that it can be linked using an intent. Also updating the icon loading logic so that it handles AdaptiveIcons properly." into oc-dr1-dev
am:
8db0691129
Change-Id: If1c570e8f469ba2af39d34d016b53daa49de499b
TreeHugger Robot [Sat, 8 Jul 2017 23:01:36 +0000 (23:01 +0000)]
Merge "Adding key to individual entries in ManagedServiceSettings so that it can be linked using an intent. Also updating the icon loading logic so that it handles AdaptiveIcons properly." into oc-dr1-dev
Sunny Goyal [Fri, 7 Jul 2017 13:40:27 +0000 (06:40 -0700)]
Adding key to individual entries in ManagedServiceSettings so that it can
be linked using an intent.
Also updating the icon loading logic so that it handles AdaptiveIcons
properly.
Test: Manually tested on device
Bug:
63418030
Change-Id: I4d818956f2fa0585300d4dfb95ad7a16fe8882d5
Merged-In: I3059e3a562a593bc425d4e778be052ac014a7002
kun.tang [Sat, 8 Jul 2017 03:09:02 +0000 (11:09 +0800)]
Fix Phone crash when rorate screen on SimStatus.
When rorate screen on SimStatus, Fragment not attached to Activity, phone crash.
Solution: use mRes to getString
Test: build
07-07 13:20:27.237 696 696 E AndroidRuntime: Process: com.android.phone, PID: 696
07-07 13:20:27.237 696 696 E AndroidRuntime: java.lang.IllegalStateException: Fragment SimStatus{
d1e4bb3} not attached to Activity
07-07 13:20:27.237 696 696 E AndroidRuntime: at android.app.Fragment.getResources(Fragment.java:861)
07-07 13:20:27.237 696 696 E AndroidRuntime: at com.android.settings.deviceinfo.SimStatus.updateSignalStrength(SimStatus.java:359)
07-07 13:20:27.237 696 696 E AndroidRuntime: at com.android.settings.deviceinfo.SimStatus$4.onSignalStrengthsChanged(SimStatus.java:444)
07-07 13:20:27.237 696 696 E AndroidRuntime: at android.telephony.PhoneStateListener$1.handleMessage(PhoneStateListener.java:334)
07-07 13:20:27.237 696 696 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)
07-07 13:20:27.237 696 696 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
07-07 13:20:27.237 696 696 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6558)
07-07 13:20:27.237 696 696 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-07 13:20:27.237 696 696 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygot
Change-Id: Ife8f2e3ed8c4fe6db0fe784a43910768ff3ff4d1
jackqdyulei [Fri, 7 Jul 2017 23:57:12 +0000 (23:57 +0000)]
Merge "Update summary for "Voice Calls"" into oc-dr1-dev
am:
69d6f2840f
Change-Id: Ie98286df2d583d521eefb30630bfb32936b5ac79
TreeHugger Robot [Fri, 7 Jul 2017 23:52:58 +0000 (23:52 +0000)]
Merge "Update summary for "Voice Calls"" into oc-dr1-dev
Doris Ling [Fri, 7 Jul 2017 23:41:15 +0000 (23:41 +0000)]
Merge "Increase suggestion/condition card width." into oc-dr1-dev
am:
fbd8d21588
Change-Id: I309c769f4ee929c3f8c4c9e83b1db8e86f9745f1
TreeHugger Robot [Fri, 7 Jul 2017 23:35:08 +0000 (23:35 +0000)]
Merge "Increase suggestion/condition card width." into oc-dr1-dev
Andrew Sapperstein [Fri, 7 Jul 2017 22:48:45 +0000 (22:48 +0000)]
Merge "Duplicate ambient display setting in battery settings." into oc-dr1-dev
am:
604df3cc55
Change-Id: If9edeb0e771349bec9a0d3d23d8d9331a4ee13a6
Matthew Fritze [Fri, 7 Jul 2017 22:46:47 +0000 (22:46 +0000)]
Merge "Add public intent filters to indexing" into oc-dr1-dev
am:
50535da16d
Change-Id: I567ada95b583eec40a873466136c922ef2e73fd2
TreeHugger Robot [Fri, 7 Jul 2017 22:46:05 +0000 (22:46 +0000)]
Merge "Duplicate ambient display setting in battery settings." into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 22:39:20 +0000 (22:39 +0000)]
Merge "Add public intent filters to indexing" into oc-dr1-dev
jackqdyulei [Fri, 7 Jul 2017 20:05:46 +0000 (13:05 -0700)]
Update summary for "Voice Calls"
Change it from "Screen usage 2m" to "2m", since this is not a screen
usage. This cl has effect on all non-app batterySipper.
Bug:
63443732
Test: RunSettingsRoboTests
Change-Id: I027b3234bd7b56738ab31c5dfbc0d8bd7f19186e
Ajay Kumar Nadathur Sreenivasan [Fri, 7 Jul 2017 21:33:47 +0000 (21:33 +0000)]
Merge "Overlapping text over fingerprint animation" into oc-dr1-dev
am:
56787e3e54
Change-Id: Ic30a63d3043a04aeeac04d65a747897b91e1831b
Ajay Kumar Nadathur Sreenivasan [Fri, 7 Jul 2017 21:29:07 +0000 (21:29 +0000)]
Merge "Overlapping text over fingerprint animation" into oc-dr1-dev
Antony Sargent [Fri, 7 Jul 2017 21:15:48 +0000 (21:15 +0000)]
Merge "Get rid of spurious gear icon in BT details page" into oc-dr1-dev
am:
db522a539d
Change-Id: I85b5235bde32d6a25a708e3bd1245ba646487124
TreeHugger Robot [Fri, 7 Jul 2017 21:12:58 +0000 (21:12 +0000)]
Merge "Get rid of spurious gear icon in BT details page" into oc-dr1-dev
Andrew Sapperstein [Fri, 7 Jul 2017 18:02:00 +0000 (11:02 -0700)]
Duplicate ambient display setting in battery settings.
Also fixed a bug where ambient display was duplicated
in search results.
Change-Id: I71e8d9ff12e59ad7b9eb309d1093df1ba67abaae
Merged-In: Iacdb53c70e90f8240da1ed9acec7e382ed1df5de
Fixes:
62298578
Test: robotests
jackqdyulei [Fri, 7 Jul 2017 19:39:06 +0000 (19:39 +0000)]
Merge "Create BatterySaverReceiver" into oc-dr1-dev
am:
062dedb072
Change-Id: I0f992f6191181be50a54040c0694037cf49a77f5
TreeHugger Robot [Fri, 7 Jul 2017 19:31:47 +0000 (19:31 +0000)]
Merge "Create BatterySaverReceiver" into oc-dr1-dev
Ajay Nadathur [Fri, 7 Jul 2017 00:03:11 +0000 (17:03 -0700)]
Overlapping text over fingerprint animation
bug:
63122688
Test: Manually tested and verified using smallest & largest display
settings
Change-Id: I03a6ab380c8d611b69f0b817788ff1f34b47e19d
Antony Sargent [Fri, 7 Jul 2017 18:09:24 +0000 (11:09 -0700)]
Get rid of spurious gear icon in BT details page
The problem is that we were calling done() on the EntityHeaderController
and passing false for whether to rebind the action buttons, which means
we were getting the default behavior including a visible gear
icon. Passing true to request rebinding causes that icon to be hidden.
Bug:
63405635
Test: make RunSettingsRoboTests
Change-Id: I031f4a2d176ff3be025cc2675d7026a679936b03
Andrew Sapperstein [Fri, 7 Jul 2017 17:47:19 +0000 (17:47 +0000)]
Merge "Search bar polish" into oc-dr1-dev
am:
d10a1af258
Change-Id: Ia09442652744696c2902356b66367d46e7f20534
Ajay Kumar Nadathur Sreenivasan [Fri, 7 Jul 2017 17:40:32 +0000 (17:40 +0000)]
Merge "Screen lock type metrics are not reported if user goes back" into oc-dr1-dev
am:
9afa37ac3c
Change-Id: Ib1b02ae394631c28db7f2bdd5bbba5a19812182f
TreeHugger Robot [Fri, 7 Jul 2017 17:39:11 +0000 (17:39 +0000)]
Merge "Search bar polish" into oc-dr1-dev
Ajay Kumar Nadathur Sreenivasan [Fri, 7 Jul 2017 17:30:15 +0000 (17:30 +0000)]
Merge "Screen lock type metrics are not reported if user goes back" into oc-dr1-dev
jackqdyulei [Wed, 5 Jul 2017 22:49:16 +0000 (15:49 -0700)]
Create BatterySaverReceiver
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
Merged-In: Ia92c6776985b89fe6a8d5b8d80898e502942b9b5
Adrian Roos [Fri, 7 Jul 2017 16:57:56 +0000 (16:57 +0000)]
Merge "AOD Settings: Add battery usage warning" into oc-dr1-dev
am:
6d8f0b57af
Change-Id: Ic25e07b765b3d732f410643eba7e854168092e86
TreeHugger Robot [Fri, 7 Jul 2017 16:52:44 +0000 (16:52 +0000)]
Merge "AOD Settings: Add battery usage warning" into oc-dr1-dev
Bill Yi [Fri, 7 Jul 2017 16:02:10 +0000 (16:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am:
e371dcf55a -s ours
Change-Id: If7245374f3d569a9406d632fc7a6c4d618b1dfd0
TreeHugger Robot [Fri, 7 Jul 2017 15:45:55 +0000 (15:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Adrian Roos [Fri, 7 Jul 2017 14:30:04 +0000 (16:30 +0200)]
AOD Settings: Add battery usage warning
Change-Id: I14946046c1541e8092ed2b492867730713e3e1ed
Fixes:
33279975
Test: Open Settings > Display. Verify that always on strings contain the increased battery usage warning.
Bill Yi [Fri, 7 Jul 2017 10:12:06 +0000 (03:12 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6c862c42b058adf710c961f7c42d108fbf8caf01
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Kevin Chyn [Fri, 7 Jul 2017 03:49:36 +0000 (03:49 +0000)]
Merge "Fix Assist Gesture settings check" into oc-dr1-dev
am:
d0487eff5e
Change-Id: I609448c301e3c28a2362a884b01a196912c4c7b8
Philip Quinn [Fri, 7 Jul 2017 03:47:19 +0000 (03:47 +0000)]
Add SeekBarPreference.getMax().
am:
648ddd5c83
Change-Id: I2ea54359e6c13b0626ed96da6c8924e70d3d95cb
TreeHugger Robot [Fri, 7 Jul 2017 03:43:12 +0000 (03:43 +0000)]
Merge "Fix Assist Gesture settings check" into oc-dr1-dev
Philip Quinn [Sun, 2 Jul 2017 04:24:10 +0000 (21:24 -0700)]
Add SeekBarPreference.getMax().
Bug:
63047816
Test: make -j
Change-Id: I416d044fa32f3aed32c1e6239baf9c57652bca2e
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:58 +0000 (03:01 +0000)]
Merge "Merge "Reduce spacing in condition cards." into oc-dr1-dev am:
494f82e9b0" into oc-dr1-dev-plus-aosp
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:56 +0000 (03:01 +0000)]
Merge "Merge "Reduce spacing in condition cards." into oc-dr1-dev am:
494f82e9b0" into oc-dr1-dev-plus-aosp
Doris Ling [Fri, 7 Jul 2017 03:01:45 +0000 (03:01 +0000)]
Merge "Reduce spacing in condition cards." into oc-dr1-dev
am:
494f82e9b0
Change-Id: Ice2da438bc2bbbae77699e0795426c6456fbe80d
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:38 +0000 (03:01 +0000)]
Merge "Merge "Update Anomaly detection framework" into oc-dr1-dev am:
690accadc7" into oc-dr1-dev-plus-aosp
Doris Ling [Fri, 7 Jul 2017 03:01:37 +0000 (03:01 +0000)]
Merge "Reduce spacing in condition cards." into oc-dr1-dev
am:
494f82e9b0
Change-Id: I28903bbc7667f0a0bad065b090076ec73db4947f
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:28 +0000 (03:01 +0000)]
Merge "Merge "Update Anomaly detection framework" into oc-dr1-dev am:
690accadc7" into oc-dr1-dev-plus-aosp
jackqdyulei [Fri, 7 Jul 2017 03:01:26 +0000 (03:01 +0000)]
Merge "Update Anomaly detection framework" into oc-dr1-dev
am:
690accadc7
Change-Id: Ic0867be73688beed9ddf5395ed9427572d1b5165
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:20 +0000 (03:01 +0000)]
Merge "Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev am:
4545d636ec" into oc-dr1-dev-plus-aosp
jackqdyulei [Fri, 7 Jul 2017 03:01:16 +0000 (03:01 +0000)]
Merge "Update Anomaly detection framework" into oc-dr1-dev
am:
690accadc7
Change-Id: Idefefd2703b8b885cc6aa68665d629d04092d5d9
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:08 +0000 (03:01 +0000)]
Merge "Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev am:
4545d636ec" into oc-dr1-dev-plus-aosp
Andrew Sapperstein [Fri, 7 Jul 2017 03:01:07 +0000 (03:01 +0000)]
Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
am:
4545d636ec
Change-Id: Ic602d70e1f1d05cb47054cf4b919e81793e18a39
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:01 +0000 (03:01 +0000)]
Merge "Merge "Update the gesture video container background color." into oc-dr1-dev am:
c2002db8cc" into oc-dr1-dev-plus-aosp
Andrew Sapperstein [Fri, 7 Jul 2017 03:00:49 +0000 (03:00 +0000)]
Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
am:
4545d636ec
Change-Id: I49fcb529e64cd1d66c85bc42f67514559140467b
Doris Ling [Fri, 7 Jul 2017 03:00:47 +0000 (03:00 +0000)]
Merge "Update the gesture video container background color." into oc-dr1-dev
am:
c2002db8cc
Change-Id: I82814ee82e24bb382f54a01accec1ad2da2b7c42
Doris Ling [Fri, 7 Jul 2017 02:59:44 +0000 (02:59 +0000)]
Merge "Update the gesture video container background color." into oc-dr1-dev
am:
c2002db8cc
Change-Id: Ia99dd8d0d9ae926d4fe09c7911c4bc10e60e397d
TreeHugger Robot [Fri, 7 Jul 2017 02:38:10 +0000 (02:38 +0000)]
Merge "Change empty apn type in user entered APN to non-read-only types." into oc-dr1-dev
am:
4fffc20ada
Change-Id: I2e0672e71b69f35cbc0f98d9cebeebf1a6dc1af7
Antony Sargent [Fri, 7 Jul 2017 02:35:24 +0000 (02:35 +0000)]
Merge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev
am:
21423623bd
Change-Id: I9f819e3f4bf0f785f9a42592a9a37955df8e8103
TreeHugger Robot [Fri, 7 Jul 2017 02:17:15 +0000 (02:17 +0000)]
Merge "Reduce spacing in condition cards." into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 02:13:37 +0000 (02:13 +0000)]
Merge "Update Anomaly detection framework" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 02:02:51 +0000 (02:02 +0000)]
Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
Christine Franks [Fri, 7 Jul 2017 01:37:41 +0000 (18:37 -0700)]
Prevent clipping of SeekBar thumb
Bug:
63406092
Test: manual - purely a UI change
Change-Id: I1fbf7cba6d3c172a7e04de36a665dcf78b629f00
TreeHugger Robot [Fri, 7 Jul 2017 01:26:48 +0000 (01:26 +0000)]
Merge "Update the gesture video container background color." into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 23:50:28 +0000 (23:50 +0000)]
Merge "Change empty apn type in user entered APN to non-read-only types." into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 23:46:39 +0000 (23:46 +0000)]
Merge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev
Andrew Sapperstein [Thu, 6 Jul 2017 23:34:58 +0000 (16:34 -0700)]
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
Doris Ling [Thu, 6 Jul 2017 22:23:00 +0000 (15:23 -0700)]
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
Matthew Fritze [Thu, 29 Jun 2017 16:54:20 +0000 (09:54 -0700)]
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
jackqdyulei [Thu, 29 Jun 2017 21:20:46 +0000 (14:20 -0700)]
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
Doris Ling [Thu, 6 Jul 2017 22:33:55 +0000 (15:33 -0700)]
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
Android Build Merger (Role) [Thu, 6 Jul 2017 22:12:03 +0000 (22:12 +0000)]
Merge "Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev am:
8218511fb7" into oc-dr1-dev-plus-aosp
Maurice Lam [Thu, 6 Jul 2017 22:11:52 +0000 (22:11 +0000)]
Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev
am:
8218511fb7
Change-Id: I48b40d6158f4ebeaaaef6b8d2baf72bf8edf226a
Android Build Merger (Role) [Thu, 6 Jul 2017 22:11:44 +0000 (22:11 +0000)]
Merge "Merge "Add util method to get battery stats" into oc-dr1-dev am:
55ad60d1ff" into oc-dr1-dev-plus-aosp
Matthew Fritze [Thu, 6 Jul 2017 22:11:11 +0000 (22:11 +0000)]
Merge "Add util method to get battery stats" into oc-dr1-dev
am:
55ad60d1ff
Change-Id: I6aa6178f142bcf0bb67957c459d86ec0618c7bd0
Matthew Fritze [Thu, 6 Jul 2017 22:11:04 +0000 (22:11 +0000)]
Merge "Add util method to get battery stats" into oc-dr1-dev
am:
55ad60d1ff
Change-Id: I02308e6829fbc1a3764efb8a09dfc9d576428775
Daniel Nishi [Thu, 6 Jul 2017 22:10:37 +0000 (22:10 +0000)]
Merge "Shrink the music icon." into oc-dr1-dev
am:
e78190d124
Change-Id: I21af42927fa117c68a4979285213361a3c70fa56
Daniel Nishi [Thu, 6 Jul 2017 22:10:18 +0000 (22:10 +0000)]
Merge "Update the Storage icons." into oc-dr1-dev
am:
fa47cebd55
Change-Id: I2a393ea0aa4274c23cf9c75fdc655d7436d695d3
TreeHugger Robot [Thu, 6 Jul 2017 22:08:51 +0000 (22:08 +0000)]
Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 21:58:33 +0000 (21:58 +0000)]
Merge "Add util method to get battery stats" into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 21:58:01 +0000 (21:58 +0000)]
Merge "Shrink the music icon." into oc-dr1-dev
Ajay Nadathur [Wed, 5 Jul 2017 20:17:30 +0000 (13:17 -0700)]
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
Daniel Nishi [Thu, 6 Jul 2017 21:50:49 +0000 (21:50 +0000)]
Merge "Update the Storage icons." into oc-dr1-dev
Andrew Sapperstein [Thu, 6 Jul 2017 21:30:28 +0000 (14:30 -0700)]
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
Fan Zhang [Thu, 6 Jul 2017 19:58:06 +0000 (19:58 +0000)]
Fix a crash in AppInfoBase where appEntry is invalid
am:
2c6634a8a9
Change-Id: I6a3bc29c8a1863b320bfe3f07a40f85ddeb676fd