OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Only show mobile data usage information when mobile data is enabled." into...
TreeHugger Robot [Wed, 21 Mar 2018 18:29:21 +0000 (18:29 +0000)]
Merge "Only show mobile data usage information when mobile data is enabled." into pi-dev

6 years agoMerge "Get anomalyType and autoRestriction from config" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:46:50 +0000 (17:46 +0000)]
Merge "Get anomalyType and autoRestriction from config" into pi-dev

6 years agoMerge "Update material_deep_teal_500 to #008577." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:45:25 +0000 (17:45 +0000)]
Merge "Update material_deep_teal_500 to #008577." into pi-dev

6 years agoMerge "Recover print job ID from intent extras" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:29:35 +0000 (17:29 +0000)]
Merge "Recover print job ID from intent extras" into pi-dev

6 years agoMerge "Modify connectivty related strings" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:14:20 +0000 (17:14 +0000)]
Merge "Modify connectivty related strings" into pi-dev

6 years agoMerge "Remove SettingsLaunchPerformance test" into pi-dev
Fan Zhang [Wed, 21 Mar 2018 16:53:47 +0000 (16:53 +0000)]
Merge "Remove SettingsLaunchPerformance test" into pi-dev

6 years agoOnly show mobile data usage information when mobile data is enabled.
Jan Nordqvist [Mon, 19 Mar 2018 20:21:56 +0000 (13:21 -0700)]
Only show mobile data usage information when mobile data is enabled.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I4eb774120cbcf50f40d22c7c8c3caeb0eacbbed3

6 years agoRecover print job ID from intent extras
Philip P. Moltmann [Tue, 20 Mar 2018 16:00:30 +0000 (09:00 -0700)]
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

6 years agoMerge "Move work profile notification settings to the bottom." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 15:01:33 +0000 (15:01 +0000)]
Merge "Move work profile notification settings to the bottom." into pi-dev

6 years agoMerge "Logically revert "Directly show the layout selection screen."" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 15:01:11 +0000 (15:01 +0000)]
Merge "Logically revert "Directly show the layout selection screen."" into pi-dev

6 years agoMerge "Add ability to open up "Open by default" page directly via intent." into pi-dev
Ben Lin [Wed, 21 Mar 2018 06:07:45 +0000 (06:07 +0000)]
Merge "Add ability to open up "Open by default" page directly via intent." into pi-dev

6 years agoMerge "Add divider line in Multiple users screen" into pi-dev
Fengjen Wu [Wed, 21 Mar 2018 03:21:12 +0000 (03:21 +0000)]
Merge "Add divider line in Multiple users screen" into pi-dev

6 years agoMerge "Update string for "Use vibrator" setting" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 03:18:04 +0000 (03:18 +0000)]
Merge "Update string for "Use vibrator" setting" into pi-dev

6 years agoMerge "Revert "Import translations. DO NOT MERGE"" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 03:06:10 +0000 (03:06 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into pi-dev

6 years agoMerge "Remove period on "Fingerprint added" screen" into pi-dev
Will Chen [Wed, 21 Mar 2018 02:04:37 +0000 (02:04 +0000)]
Merge "Remove period on "Fingerprint added" screen" into pi-dev

6 years agoGet anomalyType and autoRestriction from config
Lei Yu [Sat, 17 Mar 2018 00:45:44 +0000 (17:45 -0700)]
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

6 years agoMerge "Remove the overflow menu from the usage Appbar." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:44:09 +0000 (00:44 +0000)]
Merge "Remove the overflow menu from the usage Appbar." into pi-dev

6 years agoMerge "Fixed "Primary data" text style and rearranged UI vertically." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:39:20 +0000 (00:39 +0000)]
Merge "Fixed "Primary data" text style and rearranged UI vertically." into pi-dev

6 years agoRevert "Import translations. DO NOT MERGE"
Bill Yi [Wed, 21 Mar 2018 00:35:05 +0000 (00:35 +0000)]
Revert "Import translations. DO NOT MERGE"

This reverts commit 5b57d1d1cb59d0107ca23c22771777aa9aa00def.

Reason for revert: deleted AS and OR locales

BUG:76032849

Change-Id: I199238e3111c6917cf2db8e088070a90618841fb

6 years agoMerge "Remove hardcoded wrong summary" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:28:52 +0000 (00:28 +0000)]
Merge "Remove hardcoded wrong summary" into pi-dev

6 years agoMerge "Index SliceType and Official Platform flag" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:31:03 +0000 (23:31 +0000)]
Merge "Index SliceType and Official Platform flag" into pi-dev

6 years agoMerge "Remove battery saver toggle from the Battery screen" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:21:17 +0000 (23:21 +0000)]
Merge "Remove battery saver toggle from the Battery screen" into pi-dev

6 years agoMerge "Add Default backup page to list of allowed fragments." into pi-dev
Ben Lin [Tue, 20 Mar 2018 22:22:18 +0000 (22:22 +0000)]
Merge "Add Default backup page to list of allowed fragments." into pi-dev

6 years agoRemove hardcoded wrong summary
Fan Zhang [Tue, 20 Mar 2018 22:00:28 +0000 (15:00 -0700)]
Remove hardcoded wrong summary

Change-Id: Ie96ec9387d77eccad404e3cc81bd0b48299f1c96
Fixes: 75260788
Test: reindexed search and manually search

6 years agoRemove the overflow menu from the usage Appbar.
Jan Nordqvist [Tue, 20 Mar 2018 21:32:28 +0000 (14:32 -0700)]
Remove the overflow menu from the usage Appbar.

In Data Usage screen, Above the data bar, Remove the overflow
menu (3 dots on top right of the screen) from the Appbar.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I4e8a5e54b1e5c573496ff2a76a5a80da38650f2b

6 years agoRemove battery saver toggle from the Battery screen
Makoto Onuki [Fri, 16 Mar 2018 23:47:27 +0000 (16:47 -0700)]
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

6 years agoRemove SettingsLaunchPerformance test
Fan Zhang [Tue, 20 Mar 2018 21:29:56 +0000 (14:29 -0700)]
Remove SettingsLaunchPerformance test

Bug: 74834445
Test: TH presubmit
Change-Id: I3ab181a867480f7c61d12d2f5c1490f48b2024c8

6 years agoMerge "Add log for battery tip action." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 21:11:41 +0000 (21:11 +0000)]
Merge "Add log for battery tip action." into pi-dev

6 years agoFixed "Primary data" text style and rearranged UI vertically.
Jan Nordqvist [Fri, 16 Mar 2018 22:40:52 +0000 (15:40 -0700)]
Fixed "Primary data" text style and rearranged UI vertically.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I5848f8b499aaac911c61860aa1471c9d391614bb

6 years agoMerge "Add an Advanced button to location settings" into pi-dev
Maggie Wang [Tue, 20 Mar 2018 20:44:23 +0000 (20:44 +0000)]
Merge "Add an Advanced button to location settings" into pi-dev

6 years agoMerge "Fix user id is not used correctly when fetching app info" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 20:24:17 +0000 (20:24 +0000)]
Merge "Fix user id is not used correctly when fetching app info" into pi-dev

6 years agoMerge "Indicate when accessibility services have stopped" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 20:16:09 +0000 (20:16 +0000)]
Merge "Indicate when accessibility services have stopped" into pi-dev

6 years agoMerge "Update metered string" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 20:05:07 +0000 (20:05 +0000)]
Merge "Update metered string" into pi-dev

6 years agoMerge "Move the setActiveDevice logic from Settings to SettingsLib (2/2)" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 19:56:51 +0000 (19:56 +0000)]
Merge "Move the setActiveDevice logic from Settings to SettingsLib (2/2)" into pi-dev

6 years agoMerge "Show "Doesn't support work profiles" text in Settings for launchers not suppor...
Antoan Angelov [Tue, 20 Mar 2018 19:33:17 +0000 (19:33 +0000)]
Merge "Show "Doesn't support work profiles" text in Settings for launchers not supporting work profiles." into pi-dev

6 years agoMerge "UI Tweak for eSIM related" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 19:24:59 +0000 (19:24 +0000)]
Merge "UI Tweak for eSIM related" into pi-dev

6 years agoMerge "Remove "don't show" option from work notifications settings" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 18:41:13 +0000 (18:41 +0000)]
Merge "Remove "don't show" option from work notifications settings" into pi-dev

6 years agoMerge "Fix lockdown string" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 18:19:09 +0000 (18:19 +0000)]
Merge "Fix lockdown string" into pi-dev

6 years agoAdd an Advanced button to location settings
Maggie [Thu, 15 Mar 2018 19:10:18 +0000 (12:10 -0700)]
Add an Advanced button to location settings

Add an Advanced button under "recent location requests" and "app level
permissions" in location settings.
Location footer should still be visible under Advanced button.

Bug: 70350519
Test: Manual
Change-Id: I5db32e911ed6527048c625f691f5476eb77751b3

6 years agoUpdate metered string
Salvador Martinez [Tue, 20 Mar 2018 17:27:21 +0000 (10:27 -0700)]
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

6 years agoMove the setActiveDevice logic from Settings to SettingsLib (2/2)
Hansong Zhang [Tue, 20 Mar 2018 01:21:40 +0000 (18:21 -0700)]
Move the setActiveDevice logic from Settings to SettingsLib (2/2)

Currently the Settings app handles the logic of setting active device;
however, this should be handled by SettingsLib so the logic can be shared.

Bug: 75984255
Test: robolectric test

Change-Id: I5742de1463d156ff29708ea2aecfc3fd00795e9e

6 years agoMerge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 17:11:51 +0000 (17:11 +0000)]
Merge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev

6 years agoShow "Doesn't support work profiles" text in Settings for launchers not
arangelov [Tue, 20 Mar 2018 14:53:55 +0000 (14:53 +0000)]
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

6 years agoMove work profile notification settings to the bottom.
Pavel Grafov [Mon, 19 Mar 2018 16:42:11 +0000 (16:42 +0000)]
Move work profile notification settings to the bottom.

Otherwise dynamically added stuff like "Now Playing" is added after it
and looks like it belongs to work profile settings.

Bug:74785018
Test: manual
Change-Id: Ifc4592613e66a4e3946dedc56732eed855cc6568

6 years agoRemove "don't show" option from work notifications settings
Pavel Grafov [Mon, 11 Sep 2017 14:46:46 +0000 (15:46 +0100)]
Remove "don't show" option from work notifications settings

Option to not show notifications is still available for
device-wide locks screen notification settings.

Also s/On lock screen/When work profile is locked/ for work
notifications since it applies not only to lock screen but to
notification shade as well.

Bug: 64829587
Test: make RunSettingsRoboTests
Change-Id: Ie3ec461f4c8887a5a49cd92b5350ea683f701027

6 years agoMerge "Remove touch effect of Ratio on listitem" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 14:07:26 +0000 (14:07 +0000)]
Merge "Remove touch effect of Ratio on listitem" into pi-dev

6 years agoAdd Default backup page to list of allowed fragments.
Ben Lin [Tue, 20 Mar 2018 10:25:08 +0000 (03:25 -0700)]
Add Default backup page to list of allowed fragments.

Bug: 75990141
Test: Attempting to invoke ToggleBackupSettingsFragment via XML maifest
changes works.

Change-Id: Idb00fafa998908c8d1c679054cf93c279f60913d

6 years agoMake the preference not selectable
Yvonne Yang [Fri, 16 Mar 2018 08:48:42 +0000 (16:48 +0800)]
Make the preference not selectable

"Battery usage data isn't available" should not respond to taps

Bug: 69312966
Test: Manual test
Change-Id: Id450c5a6089a4fb78a5c48a0f460992dc89f49ec

6 years agoMerge "Reword settings suggestion tile text for airplane mode" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 06:37:35 +0000 (06:37 +0000)]
Merge "Reword settings suggestion tile text for airplane mode" into pi-dev

6 years agoMerge "Add "take call on" string for audio output switcher." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 05:52:06 +0000 (05:52 +0000)]
Merge "Add "take call on" string for audio output switcher." into pi-dev

6 years agoMerge "In Data Usage screen, hide data bar if plan is unlimited" into pi-dev
Andreas Terzis [Tue, 20 Mar 2018 05:49:51 +0000 (05:49 +0000)]
Merge "In Data Usage screen, hide data bar if plan is unlimited" into pi-dev

6 years agoUpdate string for "Use vibrator" setting
Shawn Ding [Tue, 20 Mar 2018 05:20:59 +0000 (13:20 +0800)]
Update string for "Use vibrator" setting

update strings that are in Settings > System > Language & input > Advanced

Change-Id: I7e0126265411fcdaed3a86c4a72a51483c56545e
Fixes: 75277798
Test: Manual test

6 years agoRemove period on "Fingerprint added" screen
Will Chen [Tue, 20 Mar 2018 05:36:13 +0000 (13:36 +0800)]
Remove period on "Fingerprint added" screen

Change-Id: I3df845b2bf2aff00886cf2fe63a90856adcd30fc
Fixes: 75027409
Test: Manual test by marlin

6 years agoAdd divider line in Multiple users screen
fengjen wu [Tue, 20 Mar 2018 05:33:55 +0000 (13:33 +0800)]
Add divider line in Multiple users screen

Add a divider line above "Add users from lock screen" setting in "Multiple users" section.

Bug: 74799260
Test: Robotest and manual test
Change-Id: I69bae7a8e8a825634bda8b8d19230fe189cc4d4c

6 years agoMerge "Add summary for battery manager preference" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 04:36:48 +0000 (04:36 +0000)]
Merge "Add summary for battery manager preference" into pi-dev

6 years agoMerge "Update string for battery seekbar" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 04:32:51 +0000 (04:32 +0000)]
Merge "Update string for battery seekbar" into pi-dev

6 years agoMerge "Fixing settings crash when no default home app is set" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 04:32:10 +0000 (04:32 +0000)]
Merge "Fixing settings crash when no default home app is set" into pi-dev

6 years agoMerge "Change BatteryUtils.isLegacyApp() to isPreOApp()" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 04:09:27 +0000 (04:09 +0000)]
Merge "Change BatteryUtils.isLegacyApp() to isPreOApp()" into pi-dev

6 years agoMerge "Add new string for audio switch" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 04:08:27 +0000 (04:08 +0000)]
Merge "Add new string for audio switch" into pi-dev

6 years agoMerge "Make "minimal" pattern layout sw320dp" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 03:30:42 +0000 (03:30 +0000)]
Merge "Make "minimal" pattern layout sw320dp" into pi-dev

6 years agoAdd "take call on" string for audio output switcher.
ryanywlin [Fri, 16 Mar 2018 08:16:35 +0000 (16:16 +0800)]
Add "take call on" string for audio output switcher.

Bug: 74130772
Test: rebuild

Change-Id: I652015e0e051a37e8df2d8f7d04b2acbcc2bdaf6

6 years agoMerge "Update switch bar summary for spell checker page" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 02:58:38 +0000 (02:58 +0000)]
Merge "Update switch bar summary for spell checker page" into pi-dev

6 years agoMerge "Remove ops preference from specific app" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 02:35:21 +0000 (02:35 +0000)]
Merge "Remove ops preference from specific app" into pi-dev

6 years agoAdd summary for battery manager preference
Lei Yu [Fri, 16 Mar 2018 20:25:53 +0000 (13:25 -0700)]
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

6 years agoUpdate string for battery seekbar
Lei Yu [Tue, 20 Mar 2018 01:01:27 +0000 (18:01 -0700)]
Update string for battery seekbar

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: I7661fb8d324ae5df468e03d2940a48e03952e3cb

6 years agoLogically revert "Directly show the layout selection screen."
Yohei Yukawa [Tue, 20 Mar 2018 02:20:29 +0000 (19:20 -0700)]
Logically revert "Directly show the layout selection screen."

This is logical revert of a CL [1] that was recently re-introduced as
part of my recent CL [2].

Reason for revert:
Directly showing the layout selection screen when there is no hardware
keyboard is selected yet is not something people had been familiar
with.

That behavior had been enabled only in a short period during Android N
development cycle and was never enabled in most of production builds.
To avoid confusions, let's revert back to the true Android M behavior
by logically reverting that change.

 [1]: I4483dfc89afc8d148b2cfa7c6a5f66d2a02f712a
      17b631988451613393c4656900c1821e23d8434a
 [2]: I7a2ed6dd39dcd8207d3d94e12cd01d5d67ba4bb5
      7129b374bb57e39ac94ffd5b27dc3acc79fb1fb9

Change-Id: If0529e20cbff432d38d9b2dd74eeb3af0da5baf1
Bug: 66498367
Fix: 75318417
Test: Manually verified

6 years agoMerge "Update AndroidTest.xml to be APCT suite ready" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 02:13:47 +0000 (02:13 +0000)]
Merge "Update AndroidTest.xml to be APCT suite ready" into pi-dev

6 years agoFixing settings crash when no default home app is set
Sunny Goyal [Wed, 14 Mar 2018 20:46:54 +0000 (13:46 -0700)]
Fixing settings crash when no default home app is set

Test: make -j20 RunSettingsRoboTests
Bug: 74519090
Change-Id: I8846bae1f0083be981cfde9a68291c1b01359228

6 years agoModify connectivty related strings
Jyun LuoLai [Mon, 19 Mar 2018 09:08:33 +0000 (17:08 +0800)]
Modify connectivty related strings

Change-Id: I971c5f68ff3d881ad0285f87ab868a204edc9b7f
Fixes: 73960246
Test: Manual test & make RunSettingsRoboTests

6 years agoChange BatteryUtils.isLegacyApp() to isPreOApp()
hughchen [Wed, 14 Mar 2018 08:16:26 +0000 (16:16 +0800)]
Change BatteryUtils.isLegacyApp() to isPreOApp()

Bug: 73792442
Test: RunSettingsRoboTests
      make -j40 RunSettingsRoboTests
Change-Id: I770030a8f38ec6156aa2a40f4c88ac9e0673751d

6 years agoUpdate switch bar summary for spell checker page
Fan Zhang [Mon, 19 Mar 2018 22:58:48 +0000 (15:58 -0700)]
Update switch bar summary for spell checker page

Change-Id: If48ad81e5ad5e4a7bd65ede5ed67d28250fbe8ed
Fixes: 75277295
Test: atest SpellCheckerSettingsUITest

6 years agoIndicate when accessibility services have stopped
Phil Weaver [Tue, 13 Mar 2018 17:18:50 +0000 (10:18 -0700)]
Indicate when accessibility services have stopped

Bug: 35219990
Test: Created an accessibility service that crashes, and
then verified that the new status is reflected in
Settings.
Change-Id: I676c8e87f7642366a51b139f46cf8e3094a58d50

6 years agoMerge "update "Last full charge" preference" into pi-dev
Lei Yu [Tue, 20 Mar 2018 00:33:29 +0000 (00:33 +0000)]
Merge "update "Last full charge" preference" into pi-dev

6 years agoUpdating special Settings Wi-Fi strings
xshu [Fri, 16 Mar 2018 18:41:24 +0000 (11:41 -0700)]
Updating special Settings Wi-Fi strings

Bug: 74356729
Test: compile

Manually inspected the affected UI pages

Change-Id: I6905dce8f3d6c4acbddedccbf0401b9ef6bba53b

6 years agoRemove LinearColorBar and replace uses with ProgressBar.
Andrew Sapperstein [Sun, 18 Mar 2018 22:53:09 +0000 (15:53 -0700)]
Remove LinearColorBar and replace uses with ProgressBar.

We never actually needed it, since progress bar can do
everything we want it to. Renamed data_usage_progress to
color_bar_progress to reflect its more generic state.

Updated color_bar_progress to use proper values.
Since we can't seem to use private attrs in settings,
use the dimen/color values that are customizable.

Updated usages to use regular ProgressBar APIs.

Fixes: 74111937
Test: visual inspection and robotests
Change-Id: I4f0c59e6cf5c629e3cc3901800d9c4afc95fa495

6 years agoIndex SliceType and Official Platform flag
Matthew Fritze [Fri, 2 Mar 2018 18:24:42 +0000 (10:24 -0800)]
Index SliceType and Official Platform flag

Extend slices_index.db to include SliceType and platform flag.
This will be used when we generate a list of all available slices
for different authorities & separated intent/action paths.

Bug: 62807132
Test: robotests
Change-Id: I1cce49d077c02ab79153db9bfdfc894dbab5e16a

6 years agoUpdate AndroidTest.xml to be APCT suite ready
jdesprez [Mon, 19 Mar 2018 21:46:45 +0000 (14:46 -0700)]
Update AndroidTest.xml to be APCT suite ready

Test: atest SettingsUITests
Bug: 74440293
Change-Id: Id7940589a5cd216668ab4664bb802faaf70b5f68

6 years agoMerge "Split "Mobile Network Type" indication in Settings" into pi-dev
Hall Liu [Mon, 19 Mar 2018 21:15:26 +0000 (21:15 +0000)]
Merge "Split "Mobile Network Type" indication in Settings" into pi-dev

6 years agoIn Data Usage screen, hide data bar if plan is unlimited
Jan Nordqvist [Mon, 19 Mar 2018 16:58:11 +0000 (09:58 -0700)]
In Data Usage screen, hide data bar if plan is unlimited

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I1314bdf9748c55a2391ccb39ff66c3dcb133be7e

6 years agoFix user id is not used correctly when fetching app info
Tony Mak [Mon, 19 Mar 2018 15:37:21 +0000 (15:37 +0000)]
Fix user id is not used correctly when fetching app info

FIXES: 73994288
Test: m -j RunSettingsRoboTest
Test: Install an app in work profile, set it to be restricted,
      observe that the app is rendered properly in restricted app list

Change-Id: Ic8a79eb3d0a675f9d1cae3125e8006739e492966

6 years agoMerge "Update the mechanism to upload new anomaly config" into pi-dev
Lei Yu [Mon, 19 Mar 2018 20:20:15 +0000 (20:20 +0000)]
Merge "Update the mechanism to upload new anomaly config" into pi-dev

6 years agoupdate "Last full charge" preference
Lei Yu [Fri, 16 Mar 2018 22:26:33 +0000 (15:26 -0700)]
update "Last full charge" preference

When there is average time estimation, change it to "Full charge lasts
about" and also update the time.

Also update the BatteryInfo to return average time estimation even
though it is charging.

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: Ib22dadb5716e3034c60aeeb7768fdbf0cc86be0c

6 years agoMerge "Update string for dwell click timing" into pi-dev
Phil Weaver [Mon, 19 Mar 2018 19:58:02 +0000 (19:58 +0000)]
Merge "Update string for dwell click timing" into pi-dev

6 years agoMerge "Remove dupe key in UniquePreferenceTest" into pi-dev
Lei Yu [Mon, 19 Mar 2018 18:45:08 +0000 (18:45 +0000)]
Merge "Remove dupe key in UniquePreferenceTest" into pi-dev

6 years agoMake "minimal" pattern layout sw320dp
Maurice Lam [Fri, 16 Mar 2018 23:26:42 +0000 (16:26 -0700)]
Make "minimal" pattern layout sw320dp

The minimal layout was sw400dp, but some smaller phones still have
enough space to display the icon and button decently, so we're
reducing the trigger threshold for the "minimal" layout to sw320dp.

Test: m -j RunSettingsRoboTests
Bug: 74527018
Change-Id: Ibfca1828870058301cca302554ce3d932c8ba70b

6 years agoMerge "Display "MAC address is randomized" in Wifi Preference Page" into pi-dev
Jong Wook Kim [Mon, 19 Mar 2018 18:14:08 +0000 (18:14 +0000)]
Merge "Display "MAC address is randomized" in Wifi Preference Page" into pi-dev

6 years agoMerge "In Data Usage screen, Above the data bar, Change font size of number." into...
Jan Nordqvist [Mon, 19 Mar 2018 18:05:44 +0000 (18:05 +0000)]
Merge "In Data Usage screen, Above the data bar, Change font size of number." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:07:14 +0000 (17:07 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "In Network & internet screen, hide summary under Data usage when there is...
Jan Nordqvist [Mon, 19 Mar 2018 16:04:23 +0000 (16:04 +0000)]
Merge "In Network & internet screen, hide summary under Data usage when there is No SIM" into pi-dev

6 years agoMerge "Add the string "No time remaining" when remaining time <= 0." into pi-dev
Andreas Terzis [Mon, 19 Mar 2018 14:22:51 +0000 (14:22 +0000)]
Merge "Add the string "No time remaining" when remaining time <= 0." into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Mar 2018 14:17:36 +0000 (07:17 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6421ebc38133f014551740dd9974dbb687a13b2d

6 years agoRemove touch effect of Ratio on listitem
HJ ChangLiao [Mon, 19 Mar 2018 05:22:56 +0000 (13:22 +0800)]
Remove touch effect of Ratio on listitem

Remove the ripple touch effect of RatioButton,
at Network ratings provider settings page.

Change-Id: Iba067450901572492df68974bdfc14c9ef09a655
Fixes: 70818673
Test: Manual test

6 years agoAdd new string for audio switch
timhypeng [Thu, 15 Mar 2018 10:43:01 +0000 (18:43 +0800)]
Add new string for audio switch

Bug: 74134939
Test: make -j32 RunSettingsRoboTests

Change-Id: Iebbe0f69e22bca97f2ead47e4bae3d45ca9917a3

6 years agoDisplay "MAC address is randomized" in Wifi Preference Page
Jong Wook Kim [Wed, 14 Mar 2018 07:56:20 +0000 (00:56 -0700)]
Display "MAC address is randomized" in Wifi Preference Page

When Connected MAC Randomization is enabled and the device is
disconnected, there isn't a valid MAC address to display since we don't
know what the device's next MAC address is going to be.

Instead of displaying the MAC address used for previous connection, tell
users that "MAC address is randomized."

Bug: 73663275
Test: make -j40 RunSettingsRoboTests
Change-Id: Id5352926f221e3215734d1c198f2072940f82695

6 years agoUpdate material_deep_teal_500 to #008577.
Andrew Sapperstein [Sun, 18 Mar 2018 18:31:04 +0000 (11:31 -0700)]
Update material_deep_teal_500 to #008577.

Better for accessibility.

Also update some direct usage of the old value to use canonical versions.

Also deleted some unused assets including a 130KB!!! png that was unused.

Bug: 74118164
Test: asset swap
Change-Id: I17e0f191ac44def71e5c83193db39def28f3f7f9

6 years agoMerge "Add placeholder on DND settings screen" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 14:28:41 +0000 (14:28 +0000)]
Merge "Add placeholder on DND settings screen" into pi-dev

6 years agoRemove dupe key in UniquePreferenceTest
Lei Yu [Sat, 17 Mar 2018 01:19:17 +0000 (18:19 -0700)]
Remove dupe key in UniquePreferenceTest

The duplicate page already removed in b/70848054, we need to update
the test.

Change-Id: Ia1f313d211e7528311e56596dbab152aad54bf22
Fixes: 70848054
Test: runtest -x UniquePreferenceTest

6 years agoUpdate string for dwell click timing
Phil Weaver [Mon, 12 Mar 2018 20:48:48 +0000 (13:48 -0700)]
Update string for dwell click timing

Also adding a footer to the preference.

Change-Id: If34cf34ecec29918a1def0c924f4fe1dc378918c
Fixes: 71869029
Test: Make, navigate and observe glorious new string

6 years agoAdd the string "No time remaining" when remaining time <= 0.
Jan Nordqvist [Fri, 16 Mar 2018 23:14:28 +0000 (16:14 -0700)]
Add the string "No time remaining" when remaining time <= 0.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: Id8ff1dde78f3389b5ab15120a2460ab19e895c6f

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 23:19:48 +0000 (23:19 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev