OSDN Git Service

android-x86/packages-apps-Settings.git
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 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 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 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 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 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 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 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 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

6 years agoSplit "Mobile Network Type" indication in Settings
Hall Liu [Wed, 14 Mar 2018 01:28:58 +0000 (18:28 -0700)]
Split "Mobile Network Type" indication in Settings

Display data and voice network type for clarity

Change-Id: I26e52dcc564dfd96e36e45d94d6e69225ea4a80f
Fixes: 70938010
Test: manual, unit

6 years agoMerge "Update USB settings screen" into pi-dev
Jerry Zhang [Fri, 16 Mar 2018 22:40:38 +0000 (22:40 +0000)]
Merge "Update USB settings screen" into pi-dev

6 years agoIn Network & internet screen, hide summary under Data usage when there is No SIM
Jan Nordqvist [Mon, 12 Mar 2018 23:23:13 +0000 (16:23 -0700)]
In Network & internet screen, hide summary under Data usage when there is No SIM

Bug: 70950124

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

6 years agoMerge "Update the wifi off string" into pi-dev
Lei Yu [Fri, 16 Mar 2018 21:28:43 +0000 (21:28 +0000)]
Merge "Update the wifi off string" into pi-dev

6 years agoIn Data Usage screen, Above the data bar, Change font size of number.
Jan Nordqvist [Fri, 16 Mar 2018 17:19:04 +0000 (10:19 -0700)]
In Data Usage screen, Above the data bar, Change font size of number.

This is related to ag/3746508 and sets the size of the "small" text to 16sp.

Bug: 70950124

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

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 16 Mar 2018 20:20:09 +0000 (13:20 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If94e8adc7ea1d0106ebb553314d47f4311ffbd0e

6 years agoMerge "Link to dnd settings from notification settings" into pi-dev
Julia Reynolds [Fri, 16 Mar 2018 19:43:38 +0000 (19:43 +0000)]
Merge "Link to dnd settings from notification settings" into pi-dev

6 years agoAdd log for battery tip action.
Lei Yu [Fri, 9 Mar 2018 23:00:13 +0000 (15:00 -0800)]
Add log for battery tip action.

For each action, we add log when it is triggered.

RestrictAppAction could be triggered in multiple locations
(main page vs battery app detail page), so we add metricsKey to
distinguish them

Bug: 73888115
Test: RunSettingsRoboTests
Change-Id: I08f28431c4e891bf90816ce91f551edc671579cd

6 years agoMerge "update strings in battery settings(Round 1)" into pi-dev
Lei Yu [Fri, 16 Mar 2018 18:26:49 +0000 (18:26 +0000)]
Merge "update strings in battery settings(Round 1)" into pi-dev

6 years agoUpdate the mechanism to upload new anomaly config
Lei Yu [Thu, 15 Mar 2018 22:55:07 +0000 (15:55 -0700)]
Update the mechanism to upload new anomaly config

1. Move the config update to jobscheduler, so config is checked and
updated every day.
2. Before the update, always delete the old config.
3. Move uploadIntent method to BatteryTipUtils.

Bug: 74997752
Fixes: 74564143
Test: RunSettingsRoboTests

Change-Id: If88759595d57a562b25542082f895fe8f207acdb

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

6 years agoLink to dnd settings from notification settings
Julia Reynolds [Thu, 15 Mar 2018 14:22:01 +0000 (10:22 -0400)]
Link to dnd settings from notification settings

Test: make -j20 RunSettingsRoboTests
Change-Id: Idf70155134b2e78bd410468497cabe8faf1557ce
Fixes: 74319354

6 years agoFix lockdown string
Chad Brubaker [Thu, 15 Mar 2018 23:56:27 +0000 (16:56 -0700)]
Fix lockdown string

Change-Id: Iefae9a2fb00f1bdd8b9cce1b0c018df729aa1141
Fixes: 75001345
Test: new string is displayed

6 years agoIn Data Usage screen, Above the data bar, Change font size of number.
Jan Nordqvist [Thu, 15 Mar 2018 22:47:58 +0000 (15:47 -0700)]
In Data Usage screen, Above the data bar, Change font size of number.

Bug: 70950124

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

6 years agoMerge "Fix channel screen launching" into pi-dev
Julia Reynolds [Fri, 16 Mar 2018 15:45:05 +0000 (15:45 +0000)]
Merge "Fix channel screen launching" into pi-dev

6 years agoMerge "Sort Uncategorized channel to the bottom." into pi-dev
Alison Cichowlas [Fri, 16 Mar 2018 15:44:12 +0000 (15:44 +0000)]
Merge "Sort Uncategorized channel to the bottom." into pi-dev

6 years agoMerge "Enable launching captive portal directly" into pi-dev
Adam Newman [Fri, 16 Mar 2018 14:26:25 +0000 (14:26 +0000)]
Merge "Enable launching captive portal directly" into pi-dev

6 years agoRestore "Update for 1.0.0-beta1"
Alan Viverette [Thu, 15 Mar 2018 21:19:52 +0000 (21:19 +0000)]
Restore "Update for 1.0.0-beta1"

This reverts commit b4fe52343c7df00cd4801c2d712a377d473b2a17.

Bug: 74950017
Test: manual
Change-Id: I9749b9ae8f2f75b1bbdf7c6686a036db1f6f8a74

6 years agoupdate strings in battery settings(Round 1)
Lei Yu [Tue, 13 Mar 2018 21:19:04 +0000 (14:19 -0700)]
update strings in battery settings(Round 1)

This cl updates the strings in several battery
settings pages and dialogs, also add footers
for battery manager page and restrict app page.

Update the strings in battery settings except:
1. Summary for smart battery toggle
2. "Full charge lasts"
3. Restrict dialog
4. App info page

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: I4955cc7c19b5f1df18f21cfb47e8859c997e19d1

6 years agoUpdate USB settings screen
Jerry Zhang [Fri, 23 Feb 2018 02:13:06 +0000 (18:13 -0800)]
Update USB settings screen

Screen now handles data role and power
role switching as separate categories.

Change the UsbBackend api to use predefined
constants. Split out data and power direction
changes into separate functions.

Add tests for new controllers and new backend
functionality.

Bug: 72829348
Test: passes
Change-Id: I28b96cf49463fa4f3a4b6be41c57d5841731fbd6

6 years agoSort Uncategorized channel to the bottom.
Alison Cichowlas [Thu, 15 Mar 2018 22:07:27 +0000 (18:07 -0400)]
Sort Uncategorized channel to the bottom.

Bug: 64803214
Test: manual, with Duo app
Change-Id: I8e39fbed4ecda2efebb4606f38ea934647317207

6 years agoEnable launching captive portal directly
Adam Newman [Fri, 9 Mar 2018 00:59:34 +0000 (16:59 -0800)]
Enable launching captive portal directly

Whenever a user has connected to a captive portal network, split the
ConnectedAccessPointPreference to allow directly signing into the
captive portal or modifying the network's settings. When in any other
network state, use the old behavior of a single tappable preference that
takes the user to settings.

Bug: 63929546
Bug: 68031656
Test: make RunSettingsRoboTests
Test: manual by connecting to Captive Portal and normal WiFi networks.

Change-Id: I444202a12138d90c94bda94945c121c8c0810536
(cherry picked from commit 7577624db7bf9d9c8382161bab25849589822601)

6 years agoMerge "Revert "Update for 1.0.0-beta1"" into pi-dev
Alan Viverette [Thu, 15 Mar 2018 20:04:22 +0000 (20:04 +0000)]
Merge "Revert "Update for 1.0.0-beta1"" into pi-dev

6 years agoRevert "Update for 1.0.0-beta1"
Alan Viverette [Thu, 15 Mar 2018 17:48:04 +0000 (17:48 +0000)]
Revert "Update for 1.0.0-beta1"

This reverts commit 6b1fd5cfa9e6ff2a1b7cdc5190ec844dacec7a72.

Reason for revert: broke Settings

Bug: 74950017
Test: revert only
Change-Id: If56a4dcac4671d8e2c5f2c0de30d13e3cf58666a

6 years agoMerge "Update strings for location" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 18:30:24 +0000 (18:30 +0000)]
Merge "Update strings for location" into pi-dev

6 years agoMerge "Update the restrict app list" into pi-dev
Lei Yu [Thu, 15 Mar 2018 18:28:48 +0000 (18:28 +0000)]
Merge "Update the restrict app list" into pi-dev

6 years agoMerge "Track changes in libcore" into pi-dev
Neil Fuller [Thu, 15 Mar 2018 18:26:36 +0000 (18:26 +0000)]
Merge "Track changes in libcore" into pi-dev

6 years agoUI Tweak for eSIM related
Qingxi Li [Wed, 14 Mar 2018 23:00:47 +0000 (16:00 -0700)]
UI Tweak for eSIM related

This CL update following UI of eSIM:
    1. update title of eSIM reset checkbox under network reset and FDR screens.
    2. update eSIM reset checkbox to default is checked.
    3. Show eSIM reset checkbox in FDR when user is under developer mode.

Bug: 74083169
Bug: 74085673
Bug: 74771900
Bug: 74122440
Test: E2E & make RunSettingsRoboTests
Change-Id: Ia49fdae98d6ef541398b1dfb36c54beea1f2ba39

6 years agoMerge "Add dialog when restrict apps are more than 5" into pi-dev
Lei Yu [Thu, 15 Mar 2018 18:01:58 +0000 (18:01 +0000)]
Merge "Add dialog when restrict apps are more than 5" into pi-dev

6 years agoUpdate the wifi off string
Lei Yu [Wed, 14 Mar 2018 23:20:06 +0000 (16:20 -0700)]
Update the wifi off string

When wifi scanning is on.

Bug: 65626601
Test: Manual
Change-Id: Ib4b6ee1cc7f2cc1d8d4ab4d7500579047fd1bfd6

6 years agoMerge "Change text for data warning and data limit." into pi-dev
Sundeep Ghuman [Thu, 15 Mar 2018 17:08:34 +0000 (17:08 +0000)]
Merge "Change text for data warning and data limit." into pi-dev