OSDN Git Service

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

6 years agoMerge "Update string in battery app info page" into pi-dev
Lei Yu [Thu, 15 Mar 2018 17:06:00 +0000 (17:06 +0000)]
Merge "Update string in battery app info page" into pi-dev

6 years agoChange text for data warning and data limit.
Jan Nordqvist [Mon, 12 Mar 2018 20:15:47 +0000 (13:15 -0700)]
Change text for data warning and data limit.

This change modifies the "data warning" text to show either nothing, only
warning, only limit, or warning and limit, based on which of the values are
set. It also remove the capitalization of the first letter of the texts.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: Ifebb411b906719c6e2f343f48d825f7b6f17af53

6 years agoMerge "Donot disable Wi-Fi Calling when getting "registration error" intent." into...
Brad Ebinger [Thu, 15 Mar 2018 16:04:56 +0000 (16:04 +0000)]
Merge "Donot disable Wi-Fi Calling when getting "registration error" intent." into pi-dev

6 years agoMerge changes Icf6fafe9,I35eb3f0c,Ieec0c486,I8accb164 into pi-dev
Sundeep Ghuman [Thu, 15 Mar 2018 15:43:17 +0000 (15:43 +0000)]
Merge changes Icf6fafe9,I35eb3f0c,Ieec0c486,I8accb164 into pi-dev

* changes:
  Set color of update line to red if update is older than six hours.
  In Data Usage screen, Below the data bar, Add “X days left” field.
  In Data Usage screen, add over-limit state.
  Change text layout of data usage string.

6 years agoAdd placeholder on DND settings screen
Julia Reynolds [Thu, 15 Mar 2018 13:34:03 +0000 (09:34 -0400)]
Add placeholder on DND settings screen

Bug: 74321426
Test: make -j20 RunSettingsRoboTests
Change-Id: Icb7d21e342af85d1ad83e89efa2fe9a1d41e710b

6 years agoMerge "Update for 1.0.0-beta1" into pi-dev
Alan Viverette [Thu, 15 Mar 2018 13:32:16 +0000 (13:32 +0000)]
Merge "Update for 1.0.0-beta1" into pi-dev

6 years agoFix channel screen launching
Julia Reynolds [Wed, 14 Mar 2018 20:28:39 +0000 (16:28 -0400)]
Fix channel screen launching

Test: launch channel screen from Settings & external app
Change-Id: Ib9add2f25cbacde192095407b83b17438946a493
Fixes: 73814186

6 years agoSet color of update line to red if update is older than six hours.
Jan Nordqvist [Mon, 12 Mar 2018 22:19:29 +0000 (15:19 -0700)]
Set color of update line to red if update is older than six hours.

In Data Usage screen, out-of-date state

Bug: 70950124

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

6 years agoIn Data Usage screen, Below the data bar, Add “X days left” field.
Jan Nordqvist [Fri, 9 Mar 2018 23:13:46 +0000 (15:13 -0800)]
In Data Usage screen, Below the data bar, Add “X days left” field.

Bug: 70950124

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

6 years agoRemove ops preference from specific app
HJ ChangLiao [Thu, 15 Mar 2018 05:51:50 +0000 (13:51 +0800)]
Remove ops preference from specific app

Remve below preference in Settings>Apps>Specific app:
Display over apps screen> App display on top permisson
Usage access> App usage preferences
Modify system settings> App modify system settings permission

Change-Id: Ib4128e563b0e2739c16136694ce24182f0da6626
Fixes: 72737995
Test: Manual test

6 years agoIn Data Usage screen, add over-limit state.
Sundeep Ghuman [Thu, 15 Mar 2018 06:00:54 +0000 (23:00 -0700)]
In Data Usage screen, add over-limit state.

Bug: 70950124
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DataUsageSummaryPreferenceTest

Change-Id: Ieec0c486c6a5451cd5983f02e202ddac3413a602

6 years agoChange text layout of data usage string.
Jan Nordqvist [Wed, 7 Mar 2018 17:59:06 +0000 (09:59 -0800)]
Change text layout of data usage string.

In Data Usage screen, Above the data bar, Change font size of number
In Data Usage screen, Above the data bar, Update text style of “GB used”
In Data Usage screen, Above the data bar, Add “GB left” aligned right of bar (not always shown)

Bug: 70950124

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

6 years agoMerge "update the whitelist for anomaly detection" into pi-dev
Andrew Sapperstein [Thu, 15 Mar 2018 05:09:59 +0000 (05:09 +0000)]
Merge "update the whitelist for anomaly detection" into pi-dev

6 years agoMerge "Fix the ProgressBar in DataUsageSummaryV2 page." into pi-dev
Sundeep Ghuman [Thu, 15 Mar 2018 05:00:41 +0000 (05:00 +0000)]
Merge "Fix the ProgressBar in DataUsageSummaryV2 page." into pi-dev

6 years agoMerge "Rename “Mobile data usage” to “App data usage” & hide summary" into pi-dev
Andrew Sapperstein [Thu, 15 Mar 2018 04:58:42 +0000 (04:58 +0000)]
Merge "Rename “Mobile data usage” to “App data usage” & hide summary" into pi-dev

6 years agoUpdate string in battery app info page
Lei Yu [Thu, 15 Mar 2018 00:02:30 +0000 (17:02 -0700)]
Update string in battery app info page

Change-Id: I78ce7499f10bb65d44865349738bf77300180867
Fixes: 73576591
Bugs: 73018395
Test: Manual

6 years agoFix the ProgressBar in DataUsageSummaryV2 page.
Sundeep Ghuman [Tue, 13 Mar 2018 05:25:23 +0000 (22:25 -0700)]
Fix the ProgressBar in DataUsageSummaryV2 page.

Bug: 70950124
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageSummaryPreferenceTest
Change-Id: I83f268c0824d9e3520899725fa572753e1de0814

6 years agoReword settings suggestion tile text for airplane mode
Antony Sargent [Wed, 14 Mar 2018 19:55:55 +0000 (12:55 -0700)]
Reword settings suggestion tile text for airplane mode

Change-Id: Ic3034815e58fab104f6e562bf6d810f5656f9709
Fixes: 65451090
Test: N/A (string rewording only)

6 years agoRename “Mobile data usage” to “App data usage” & hide summary
Andreas Terzis [Fri, 9 Mar 2018 06:51:47 +0000 (22:51 -0800)]
Rename “Mobile data usage” to “App data usage” & hide summary

In Data usage screen, rename “Mobile data usage” to “App data usage” &
hide summary.

Also, change the title of the new "App data usage" (old "Mobile data
usage") screen to "App data usage".

Test: manual
Test: make RunSettingsRoboTests
Bug: 70950124
Change-Id: Ide9bcb2a4b171edcd088d68275bacda1eb449afe

6 years agoAdd dialog when restrict apps are more than 5
Lei Yu [Tue, 13 Mar 2018 00:16:54 +0000 (17:16 -0700)]
Add dialog when restrict apps are more than 5

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: Iec24fc1ce8e5840207610b3155dffa7059f9aa49

6 years agoTrack changes in libcore
Neil Fuller [Wed, 14 Mar 2018 17:11:44 +0000 (17:11 +0000)]
Track changes in libcore

Track method parameter changes in libcore.

Bug: 72142943
Test: Build only
Change-Id: I85396aeea98eaa8c093115ee52b52e22d1a4aa2b

6 years agoMerge "Request focus in wifi screen in add network and secure wifi" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 17:11:37 +0000 (17:11 +0000)]
Merge "Request focus in wifi screen in add network and secure wifi" into pi-dev

6 years agoMerge "Show default a11y icon in shortcut menu" into pi-dev
Phil Weaver [Wed, 14 Mar 2018 16:45:49 +0000 (16:45 +0000)]
Merge "Show default a11y icon in shortcut menu" into pi-dev

6 years agoMerge "Don't pre-scale vector drawables in settings" into pi-dev
Phil Weaver [Wed, 14 Mar 2018 16:03:28 +0000 (16:03 +0000)]
Merge "Don't pre-scale vector drawables in settings" into pi-dev