Commit Graph

5657 Commits

Author SHA1 Message Date
arangelov
75c603cedb Show policy transparency popup dialog for Bluetooth in Settings.
Bug: 70206452
Test: make ROBOTEST_FILTER=BluetoothEnablerTest -j40 RunSettingsRobotests
Test: make ROBOTEST_FILTER=BluetoothSwitchPreferenceControllerTest -j40 RunSettingsRobotests
Change-Id: I543cf69b754c44b02c66e101698f10906a1b957f
2018-03-21 16:03:28 +00:00
Philip P. Moltmann
b85ab7e979 Recover print job ID from intent extras
If the fragment was started via ACTION_PRINT_SETTINGS the intent extra
does not get transformed into a fragment argument. Hence need to check
the intent extra.

Fixes: 74456525
Test: Opened print job settings from a print notification,
      atest com.android.settings.print.PrintJobSettingsActivityTest
Change-Id: I6c4605309c348456a862c4d7b48a11400b62fb70
2018-03-21 08:13:45 -07:00
Matthew Fritze
527be21e9b Merge "Index SliceType and Official Platform flag" into pi-dev am: f663d78436
am: 467b47be5f

Change-Id: I34e60b72206616d4c569869ac8416972aa30c5ce
2018-03-21 04:33:12 +00:00
Makoto Onuki
3b4cd7410b Merge "Remove battery saver toggle from the Battery screen" into pi-dev am: 83c8451266
am: 2ef1dcafa5

Change-Id: I776a51b5918991f7825b588cbbaf74d31c712d4d
2018-03-21 04:20:40 +00:00
Lei Yu
2d6cddb172 Merge "Add log for battery tip action." into pi-dev am: 09ed2f2596
am: 291a640420

Change-Id: I44961a0446549c799a9852b97e8d1a36589b742f
2018-03-21 01:21:36 +00:00
Tony Mak
1b8ee6f122 Merge "Fix user id is not used correctly when fetching app info" into pi-dev am: ea43e8285e
am: e33a04e278

Change-Id: I5ff962974f3131724b5d486747b532d037fefc67
2018-03-21 00:53:18 +00:00
Lei Yu
baf8a0cf9e Get anomalyType and autoRestriction from config
Now the westworld config provides COOKIES to store private info
for each alert(anomaly). So we could use it to store:
1. AnomalyType: what is the type of anomaly
2. AutoRestriction: whether to auto restrict this anomaly

Bug: 74567790
Test: RunSettingsRoboTests
Change-Id: I15f5e225a4cb1f2da3fe109e56e5222816d179cc
2018-03-20 17:50:44 -07:00
Salvador Martinez
457f75a139 Merge "Update metered string" into pi-dev am: f9dade022c
am: b07afe0538

Change-Id: I23f628dd65088a01a980f2ba278945e1bf92e903
2018-03-21 00:05:45 +00:00
Antony Sargent
5a1587526b Fix renaming for Bluetooth devices when rotating to landscape
The bug here is that when renaming a Bluetooth device (either the local
adapter or a paired device), if you click on the text edit field of the
alert dialog and then rotate the screen, the text shown in the soft
input will disappear. Also it's a usability problem that you even needed
to click in the first place. This CL fixes both problems - now the soft
input will be shown immediately when the dialog comes up, and the
content doesn't disappear on rotation.

Change-Id: Id29d11c834bf98c01b5c1208159537a8fd36a64f
Fixes: 72551780
Test: make -j RunSettingsRoboTests
2018-03-20 16:33:26 -07:00
Christine Franks
4c3c7fbfa6 Allow developer options in retail mode
Also, add new tests and fix existing tests.

Bug: 70985064
Test: make -j100 && make RunSettingsRoboTests -j100
Change-Id: Ied84cf0de02e18c10949eed4f3642782c1246e7b
2018-03-20 16:32:50 -07:00
TreeHugger Robot
f663d78436 Merge "Index SliceType and Official Platform flag" into pi-dev 2018-03-20 23:31:03 +00:00
Antoan Angelov
92cc5fa977 Merge "Show "Doesn't support work profiles" text in Settings for launchers not supporting work profiles." into pi-dev am: 1bc98edc15
am: 2465019035

Change-Id: Ia7f4d752de8ceabac2379975b235ba21e046f415
2018-03-20 23:22:40 +00:00
Qingxi Li
e08fdbe27b Merge "UI Tweak for eSIM related" into pi-dev am: 2a6b9ff315
am: c3d81ef8ab

Change-Id: Id80cd9d315dd63fb7bcd4bdd44798675de1d9595
2018-03-20 23:22:13 +00:00
TreeHugger Robot
83c8451266 Merge "Remove battery saver toggle from the Battery screen" into pi-dev 2018-03-20 23:21:17 +00:00
Makoto Onuki
f310f7e300 Remove battery saver toggle from the Battery screen
- Also fix bug where the summary doesn't show up until the battery saver state
changes.

Bug: 74120126
Fix: 74400918
Test: manual
Test: b ROBOTEST_FILTER=BatterySaverControllerTest RunSettingsRoboTests
Change-Id: I03ceb8ee2a8d8c33da7ad220148ecc9553911661
2018-03-20 14:33:32 -07:00
Fan Zhang
ff0228091f Remove SettingsLaunchPerformance test
Bug: 74834445
Test: TH presubmit
Change-Id: I3ab181a867480f7c61d12d2f5c1490f48b2024c8
2018-03-20 14:29:56 -07:00
TreeHugger Robot
09ed2f2596 Merge "Add log for battery tip action." into pi-dev 2018-03-20 21:11:41 +00:00
Andrew Sapperstein
54762c6ff7 Merge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev am: a3970d4e52
am: e95d9f34f7

Change-Id: Ie0059b9872248cfbef864e2baa137133989d1f36
2018-03-20 20:28:44 +00:00
TreeHugger Robot
ea43e8285e Merge "Fix user id is not used correctly when fetching app info" into pi-dev 2018-03-20 20:24:17 +00:00
TreeHugger Robot
f9dade022c Merge "Update metered string" into pi-dev 2018-03-20 20:05:07 +00:00
Antoan Angelov
1bc98edc15 Merge "Show "Doesn't support work profiles" text in Settings for launchers not supporting work profiles." into pi-dev 2018-03-20 19:33:17 +00:00
TreeHugger Robot
2a6b9ff315 Merge "UI Tweak for eSIM related" into pi-dev 2018-03-20 19:24:59 +00:00
Salvador Martinez
aea566d44e Update metered string
This CL updates the metered network string to say
'detect automatically' instead of 'network preference'

Bug: 68030417
Test: rototest, visual inspection
Change-Id: I347e3b89b014d7ec0d5d0e6601f2813a3a96f5ab
2018-03-20 10:55:00 -07:00
TreeHugger Robot
a3970d4e52 Merge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev 2018-03-20 17:11:51 +00:00
arangelov
2c9d620091 Show "Doesn't support work profiles" text in Settings for launchers not
supporting work profiles.

Screenshot: https://screenshot.googleplex.com/iz3xoeSvbOA.png

Test: Manually go to Settings -> Apps & notifications -> Default apps -> Home app.
Test: make ROBOTEST_FILTER=RadioButtonPreferenceTest -j40 RunSettingsRoboTests
Bug: 69297461
Change-Id: I55c721d7ad979c882bb879a974758cf08eaf0c86
2018-03-20 16:56:36 +00:00
Andreas Terzis
f0ab2102e8 Merge "In Data Usage screen, hide data bar if plan is unlimited" into pi-dev am: 91ea3c5e56
am: b32915a9a7

Change-Id: I4ba38734eed324bcb25329d5303ff83032a3ab44
2018-03-20 08:34:15 +00:00
Lei Yu
cbbe4a337f Merge "Add summary for battery manager preference" into pi-dev am: 06d5188a71
am: fca54d8788

Change-Id: I1bcdf59eefafeca6b63689a8bb68add13f11d962
2018-03-20 08:33:21 +00:00
Lei Yu
f687bc9b99 Merge "Update string for battery seekbar" into pi-dev am: 8916df573d
am: b5d38cc5f9

Change-Id: I4d631531c96e1afca80edca0779a02a5aa3e20fe
2018-03-20 08:32:40 +00:00
Sunny Goyal
e89345ac20 Merge "Fixing settings crash when no default home app is set" into pi-dev am: ee2ac81999
am: 472037fdd3

Change-Id: I529c019f5109297f5ec3064128367d3c66ac931e
2018-03-20 08:31:14 +00:00
hughchen
7fc5f884db Merge "Change BatteryUtils.isLegacyApp() to isPreOApp()" into pi-dev am: 138bdf6030
am: 5cf0b2843e

Change-Id: I7529e6fdc451816ab29ede90f433086081a61b24
2018-03-20 08:28:14 +00:00
Maurice Lam
52512f64ee Merge "Make "minimal" pattern layout sw320dp" into pi-dev am: b98eea4c67
am: f7c9fbea5e

Change-Id: Ic0991d908971f8dc62f0f21c8d5e509c95de3ff0
2018-03-20 08:07:54 +00:00
Fan Zhang
c83966663e Merge "Update switch bar summary for spell checker page" into pi-dev am: 39b54ea1f8
am: e147c48470

Change-Id: I0c7473f61ac3a783f8a1559fc88396e73c3f35e9
2018-03-20 08:06:26 +00:00
jdesprez
57b9e15574 Merge "Update AndroidTest.xml to be APCT suite ready" into pi-dev am: a2da6221c0
am: 42e58da882

Change-Id: I7e6eafdc273f656120739c301564554759abf301
2018-03-20 07:55:16 +00:00
Lei Yu
ccba53cb0b Merge "update "Last full charge" preference" into pi-dev am: de0a3a5334
am: 549d4bd297

Change-Id: Ie2a55082d3a7916b5eec4499518f2675c92afce2
2018-03-20 07:44:49 +00:00
Hall Liu
e3b9578658 Merge "Split "Mobile Network Type" indication in Settings" into pi-dev am: 8837f992bb
am: 0738a917df

Change-Id: I5ee44871c48d6052b1d62f4cbd8dd1ed76bd74e6
2018-03-20 07:12:38 +00:00
Lei Yu
306f7312f4 Merge "Update the mechanism to upload new anomaly config" into pi-dev am: d06991821f
am: f31a7c546d

Change-Id: I6e6f5492a7fafedd74e88a51ef977ccab1e78f5d
2018-03-20 05:58:53 +00:00
Andreas Terzis
91ea3c5e56 Merge "In Data Usage screen, hide data bar if plan is unlimited" into pi-dev 2018-03-20 05:49:51 +00:00
TreeHugger Robot
06d5188a71 Merge "Add summary for battery manager preference" into pi-dev 2018-03-20 04:36:48 +00:00
TreeHugger Robot
8916df573d Merge "Update string for battery seekbar" into pi-dev 2018-03-20 04:32:51 +00:00
TreeHugger Robot
ee2ac81999 Merge "Fixing settings crash when no default home app is set" into pi-dev 2018-03-20 04:32:10 +00:00
TreeHugger Robot
138bdf6030 Merge "Change BatteryUtils.isLegacyApp() to isPreOApp()" into pi-dev 2018-03-20 04:09:27 +00:00
TreeHugger Robot
b98eea4c67 Merge "Make "minimal" pattern layout sw320dp" into pi-dev 2018-03-20 03:30:42 +00:00
TreeHugger Robot
39b54ea1f8 Merge "Update switch bar summary for spell checker page" into pi-dev 2018-03-20 02:58:38 +00:00
Lei Yu
6c16840ff5 Add summary for battery manager preference
Show different summary based on whether it is on and there is restricted
apps.

Also move method to get restricted app list to BatteryTipUtils since it
is used in 2 places.

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: Ib2306e0fd1f520fde6d1403ce9c527c241d36005
2018-03-19 19:27:36 -07:00
Lei Yu
b3113bf861 Update string for battery seekbar
Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: I7661fb8d324ae5df468e03d2940a48e03952e3cb
2018-03-19 19:23:29 -07:00
TreeHugger Robot
a2da6221c0 Merge "Update AndroidTest.xml to be APCT suite ready" into pi-dev 2018-03-20 02:13:47 +00:00
Sunny Goyal
617acf352b Fixing settings crash when no default home app is set
Test: make -j20 RunSettingsRoboTests
Bug: 74519090
Change-Id: I8846bae1f0083be981cfde9a68291c1b01359228
2018-03-20 02:08:14 +00:00
Jyun LuoLai
e05884564e Modify connectivty related strings
Change-Id: I971c5f68ff3d881ad0285f87ab868a204edc9b7f
Fixes: 73960246
Test: Manual test & make RunSettingsRoboTests
2018-03-20 09:45:09 +08:00
hughchen
18ce28ed33 Change BatteryUtils.isLegacyApp() to isPreOApp()
Bug: 73792442
Test: RunSettingsRoboTests
      make -j40 RunSettingsRoboTests
Change-Id: I770030a8f38ec6156aa2a40f4c88ac9e0673751d
2018-03-20 01:44:43 +00:00
Fan Zhang
1a77cfc8fe Update switch bar summary for spell checker page
Change-Id: If48ad81e5ad5e4a7bd65ede5ed67d28250fbe8ed
Fixes: 75277295
Test: atest SpellCheckerSettingsUITest
2018-03-19 18:05:10 -07:00