Erik Kline
fabbd1730c
Fix test expectations for NetworkCallbacks
...
Test: as follows
- built
- flashed
- booted
- make -j50 RunSettingsRoboTests ROBOTEST_FILTER=WifiMasterSwitchPreferenceControllerTest
Bug: 64133961
Bug: 77285360
Change-Id: I1ada2888d0c5517f3bcde646bf8efab331330cfd
2018-04-06 14:10:30 -07:00
Nicolas Geoffray
761c47628b
Merge "Exempt tests from hidden API checks." into pi-dev am: 8838b3fa9c
...
am: b3ef209fc6
Change-Id: I7c8b34160f79e103da7907f77ae8991595e3d941
2018-04-06 14:00:39 -07:00
arangelov
9993ea833a
Merge "Change "More details" to "Learn more" in policy transparency dialog." into pi-dev am: 22a12c0ea2
...
am: a739a63880
Change-Id: Ib61bc1739cff8b7cb63ead4104febc553d4d0c45
2018-04-06 13:59:46 -07:00
Lei Yu
ebb18819b7
Merge "Add battery illustration" into pi-dev am: 3035d45a8f
...
am: 0c43bd4c36
Change-Id: Id80603471c5ac9d1ea68417bc27b5f2c77dd1dcf
2018-04-06 13:51:07 -07:00
Lei Yu
2678c6e34a
Merge "Add name and icon for AOD" into pi-dev am: f9cea645e1
...
am: 17c2906404
Change-Id: I9bf3646637a790e58a19f735ac9cfc1fa5f88889
2018-04-06 13:48:32 -07:00
Julia Reynolds
4ef7b5f97b
Merge "Make volume sliders sliceable" into pi-dev
2018-04-06 20:48:31 +00:00
TreeHugger Robot
e0864a030f
Merge "Add test for anomaly detection in P" into pi-dev
2018-04-06 20:46:00 +00:00
TreeHugger Robot
8838b3fa9c
Merge "Exempt tests from hidden API checks." into pi-dev
2018-04-06 20:39:24 +00:00
TreeHugger Robot
22a12c0ea2
Merge "Change "More details" to "Learn more" in policy transparency dialog." into pi-dev
2018-04-06 20:35:41 +00:00
TreeHugger Robot
3035d45a8f
Merge "Add battery illustration" into pi-dev
2018-04-06 20:26:24 +00:00
TreeHugger Robot
f9cea645e1
Merge "Add name and icon for AOD" into pi-dev
2018-04-06 20:19:21 +00:00
Lei Yu
9783a7c2ac
Merge "Add anomaly log to dumpsys" into pi-dev am: 4becdc6fbe
...
am: 7556fc543c
Change-Id: Id48e6d6402c8006bb89b87c5c365f6d30bebc94c
2018-04-06 12:57:37 -07:00
TreeHugger Robot
4becdc6fbe
Merge "Add anomaly log to dumpsys" into pi-dev
2018-04-06 19:28:55 +00:00
Lei Yu
978193dbe6
Merge "Hide app if it shares uid with whitelisted app" into pi-dev am: 78e2cad8b1
...
am: 0e2c488273
Change-Id: I87d97cdf1b74c6fc75766d83ba74c0f40461ae9d
2018-04-06 11:08:05 -07:00
Fan Zhang
e1971f99b8
Merge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev am: 14244ffb9d
...
am: 24267b2e93
Change-Id: Icffeca3cd5b3a78ff38b9e4deabd8cd845353885
2018-04-06 11:07:31 -07:00
Lei Yu
9553855af4
Add test for anomaly detection in P
...
Lot of tests have been added already, this CL adds the missing tests
after robolectric upgrade.
Also add UID_NULL check in AnomalyDetectionJobService. It is almost
impossible to happen however we better catch it.
Bug: 73172999
Test: RunSettingsRoboTests
Change-Id: I950537efb166b0900393df1321ca64151b43e906
2018-04-06 10:49:36 -07:00
Daniel Solomon
7f2ae90df2
Merge "Disable user control of color mode depending on Accessibility" into pi-dev am: c9bd31b2f8
...
am: c04f722cab
Change-Id: I51af3f1020c477304c11cac80c1675081e765d50
2018-04-06 10:48:49 -07:00
Lei Yu
78e2cad8b1
Merge "Hide app if it shares uid with whitelisted app" into pi-dev
2018-04-06 17:19:19 +00:00
TreeHugger Robot
14244ffb9d
Merge "Update SliceContollerInXmlTest to match latest slice spec." into pi-dev
2018-04-06 17:15:46 +00:00
TreeHugger Robot
c9bd31b2f8
Merge "Disable user control of color mode depending on Accessibility" into pi-dev
2018-04-06 17:12:01 +00:00
Victor Chang
6be6c58206
Remove the feature flag and dead code for the old time zone picker
...
Created b/77277084 to help Android variants to migrate from
old time zone data source, i.e. ZoneGetter.getZonesList, to
new time zone source, e.g. TimeZoneFinder.
Bug: 72376227
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime
Test: manual
Change-Id: I332077a67cc9f9c83b298e25feea71463e1ee98b
2018-04-06 16:31:27 +01:00
Nicolas Geoffray
932679b141
Exempt tests from hidden API checks.
...
Bug: 64382372
Bug: 74963051
Test: m
Change-Id: I4e51a8a7d86ac79668f66057daf550a8f04711dd
2018-04-06 14:55:46 +01:00
arangelov
cf1e59a960
Change "More details" to "Learn more" in policy transparency dialog.
...
Screenshot: https://screenshot.googleplex.com/5xrwW3g29qa.png
Bug: 77618738
Test: none
Change-Id: I464f492cd6b1468b85b5a691c29ae7a982ecebff
2018-04-06 14:31:32 +01:00
Andreas Terzis
e978d3dae0
Merge ""Data Warn & Limits" pref. summary should be empty." into pi-dev am: c91339b3ce
...
am: 151f765339
Change-Id: I91891db36fd4011a689b807469f92e33b88864c0
2018-04-05 17:36:34 -07:00
TreeHugger Robot
c91339b3ce
Merge ""Data Warn & Limits" pref. summary should be empty." into pi-dev
2018-04-05 23:41:47 +00:00
Jan Nordqvist
087b5797ed
Merge "Change "X over" text color to ColorError" into pi-dev am: 22bf690fdd
...
am: b2a8860b3c
Change-Id: Ibc163d39ea4b6708699ba53334d080c8258fde63
2018-04-05 16:31:40 -07:00
Lei Yu
85bab3d4d9
Add name and icon for AOD
...
Keep it in both app list and full usage list for now,
so we don't need to update smearing code.
Bug: 77156569
Test: Screenshot | RunSettingsRoboTests
Change-Id: I5247da90ea591b226cafef8f2d1ffcbff387b62f
2018-04-05 16:01:03 -07:00
TreeHugger Robot
22bf690fdd
Merge "Change "X over" text color to ColorError" into pi-dev
2018-04-05 22:47:23 +00:00
Salvador Martinez
fb2990ac8a
Merge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev am: 148af6ba16
...
am: 6ae3fbb4c9
Change-Id: I4c4172c5d1170f8b52acee3f7ac1613167bbf2f6
2018-04-05 15:43:07 -07:00
Andreas Terzis
903a92535a
"Data Warn & Limits" pref. summary should be empty.
...
The "Data Warning & Limits" preference in the Data Usage screen
should not have a summary.
Bug: 77300376
Test: manual
Test: make RunSettingsRoboTests
Change-Id: Ic567e7451ac3ea102577ab96ccef3ce7de05d4ad
2018-04-05 15:22:31 -07:00
Fan Zhang
76dbb21cb5
Protect against invalid authority in account sync pref.
...
Some apps might contain account synclets with empty authority. Settings
UI should protect against this type of synclets. Otherwise clicking on
these synclets will crash.
(Also removed some strings that are no longer needed)
Change-Id: I364b45fc67679aa287ff1e04e6f5ac749116543a
Fixes: 74240862
Test: robotests
2018-04-05 15:19:51 -07:00
Jan Nordqvist
0c36260db1
Merge "Do not use warning or limit to display "X B left" above usage bar" into pi-dev am: 3f59ce67b6
...
am: eff9d43739
Change-Id: I8af506c4d7be28f8b5a966f2d4f38aeb13994b85
2018-04-05 15:18:18 -07:00
Lei Yu
f82d22afbb
Hide app if it shares uid with whitelisted app
...
Statsd blame app based on uid, which may mapping to multiple packages.
If there is one app in whitelist, then we shouldn't blame other apps
in anomaly detection.
Change-Id: Ib546e207eb113cef9ef5fecb1138e61558e9cf55
Fixes: 77560853
Test: RunSettingsRoboTests
2018-04-05 15:13:07 -07:00
TreeHugger Robot
148af6ba16
Merge "Update WifiScanningRequiredFragment dialog to show help page" into pi-dev
2018-04-05 22:07:30 +00:00
Doris Ling
4e56ff5628
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev am: 40d411abf5
...
am: c9b7f8a008
Change-Id: I2f78efbac8356f5e890b5cdb5fcd38a5225a408c
2018-04-05 14:43:39 -07:00
TreeHugger Robot
3f59ce67b6
Merge "Do not use warning or limit to display "X B left" above usage bar" into pi-dev
2018-04-05 21:36:59 +00:00
Fan Zhang
79cd7986e5
Update SliceContollerInXmlTest to match latest slice spec.
...
- Convert the test to use CodeInspector
- Skip abstract classes when validating contract
- Also check SliderPreferenceController when validating contract
Change-Id: I671c1a622df6d1d7248a12932f144711fbf5a026
Fixes: 77634230
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=CodeIns
2018-04-05 13:56:07 -07:00
TreeHugger Robot
40d411abf5
Merge "Update launch intent flags for settings shortcut widgets." into pi-dev
2018-04-05 20:50:06 +00:00
Salvador Martinez
0768f15470
Update WifiScanningRequiredFragment dialog to show help page
...
This CL updates the WifiScanningRequiredFragment dialog so that the
learn more button is only shown when a help page is available.
Additionally, we add the metrics constant for the dialog.
Test: robotests
Bug: 67070896
Change-Id: I7697c88b5969edaf5c06eb33251f215b776c64ee
2018-04-05 13:34:03 -07:00
Jan Nordqvist
bdd559a181
Do not use warning or limit to display "X B left" above usage bar
...
Bug: 70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I46f4f5f1cf6092038e49beaafe5aa6a19ffb0aa1
2018-04-05 13:22:06 -07:00
TreeHugger Robot
220a6a002e
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM." into pi-dev
2018-04-05 19:59:00 +00:00
Lei Yu
9f2a9e431d
Merge "Show Battery saver tip when battery saver is on" into pi-dev am: 197be04330
...
am: 16a0fcc6c3
Change-Id: I10516fa83c18d015fc3f9aa642313a7cb7259425
2018-04-05 11:49:04 -07:00
Julia Reynolds
560637970f
Make volume sliders sliceable
...
Test: make -j RunSettingsRoboTests
Change-Id: I8495770792dfdada54174ca61937f336e4fc219c
Fixes: 67997207
2018-04-05 14:47:44 -04:00
Lei Yu
7b13eaf133
Merge "Fix crash in Monkey test." into pi-dev am: d95668db99
...
am: 85f6fd4a1f
Change-Id: Ib8c62963b09e938143fd9382622ea3843cd88be5
2018-04-05 11:40:23 -07:00
Doris Ling
a658391502
Merge "Fix issue in ring volume sample not always being played." into pi-dev am: 1b899f2a0a
...
am: 284d10d112
Change-Id: I52f03ddd0686125263bc0c5e59bcc2355b7cca72
2018-04-05 11:16:42 -07:00
TreeHugger Robot
5c36161d0b
Merge "Fall back to Wi-Fi data display in data usage screen with no SIM."
2018-04-05 18:07:17 +00:00
Lei Yu
992130af7e
Merge "Hide uninstalled app in restrict app dialog" into pi-dev am: 2e96ec2f99
...
am: bc69fe95a4
Change-Id: I7185887d29c7e46f25887e88b2559d4b556a67bb
2018-04-05 11:05:58 -07:00
Lei Yu
197be04330
Merge "Show Battery saver tip when battery saver is on" into pi-dev
2018-04-05 17:48:55 +00:00
TreeHugger Robot
d95668db99
Merge "Fix crash in Monkey test." into pi-dev
2018-04-05 17:46:21 +00:00
Lei Yu
0a358ba47c
Add battery illustration
...
Also update the VideoPreference to handle the full screen
illustration by adding attr isFullWidth and aspectRadio.
Change-Id: If2ccba4ce792801c6fd79b7c60af4e3826c091cc
Fixes: 74409022
Test: Screenshot | RunSettingsRoboTests
2018-04-05 10:26:41 -07:00