OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoAdd toggle title for Data Saver
Doris Ling [Fri, 23 Mar 2018 17:42:13 +0000 (10:42 -0700)]
Add toggle title for Data Saver

Bug: 75983536
Test: rebuild
Change-Id: I38f860abca92fae634f9a41d953512b3f977d38e

6 years agoMerge "Hide password for wifi tether" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:37:23 +0000 (17:37 +0000)]
Merge "Hide password for wifi tether" into pi-dev

6 years agoMerge changes I034a9f0a,Iad5ec577 into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:36:54 +0000 (17:36 +0000)]
Merge changes I034a9f0a,Iad5ec577 into pi-dev

* changes:
  Get rid of UserPackageWrapper util.
  Get rid of extra whitespace under divider lines

6 years agoMerge "Show time zone used in or after 2018 only" into pi-dev
Neil Fuller [Fri, 23 Mar 2018 17:18:36 +0000 (17:18 +0000)]
Merge "Show time zone used in or after 2018 only" into pi-dev

6 years agoMerge "Add string for forget confirmation dialog" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:10:14 +0000 (17:10 +0000)]
Merge "Add string for forget confirmation dialog" into pi-dev

6 years agoMerge "Add summary text for "Automatic system updates" option." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:05:20 +0000 (17:05 +0000)]
Merge "Add summary text for "Automatic system updates" option." into pi-dev

6 years agoMerge "Add option for settings to push to a device index" into pi-dev
Jason Monk [Fri, 23 Mar 2018 16:52:24 +0000 (16:52 +0000)]
Merge "Add option for settings to push to a device index" into pi-dev

6 years agoMerge "Align email provider correctly for RTL locales" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 16:49:47 +0000 (16:49 +0000)]
Merge "Align email provider correctly for RTL locales" into pi-dev

6 years agoMerge "Add a string for mandatory backups in DO disclosures screen." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 15:02:59 +0000 (15:02 +0000)]
Merge "Add a string for mandatory backups in DO disclosures screen." into pi-dev

6 years agoMerge "Show policy transparency popup dialog for Bluetooth in Settings." into pi-dev
Antoan Angelov [Fri, 23 Mar 2018 14:10:29 +0000 (14:10 +0000)]
Merge "Show policy transparency popup dialog for Bluetooth in Settings." into pi-dev

6 years agoAdd option for settings to push to a device index
Jason Monk [Wed, 22 Nov 2017 15:04:38 +0000 (10:04 -0500)]
Add option for settings to push to a device index

The index implementation is optional and left up to the OEM.

Test: Open settings, see content in index
Test: robo tests
Bug: 68378569
Bug: 76102600
Change-Id: Idb8bb1e0cabbbe92e7a852e2eadbdcd8c2ab7d56

6 years agoAdd a string for mandatory backups in DO disclosures screen.
Lenka Trochtova [Fri, 23 Mar 2018 10:56:09 +0000 (11:56 +0100)]
Add a string for mandatory backups in DO disclosures screen.

Test: make -j64
Bug: 73750212
Bug: 64012357

Change-Id: I8a4b7eb65b0cbeffbe480497fa097c70dfd1f81e

6 years agoShow time zone used in or after 2018 only
Victor Chang [Thu, 15 Mar 2018 21:17:31 +0000 (21:17 +0000)]
Show time zone used in or after 2018 only

- Year 2018 is picked as the new time zone data
for picker is introduced in 2018. I can be adjusted
in the future to show more merged time zones.
- Add test to ensure each region has at least
one time zone.
- Fix a issue not using a singleton of TimeZoneData
  in commit 6c33caad4bb793b3dbbfc826549e200d906830f0

Bug: 72142943
Test: atest SettingsUnitTests:TimeZoneDataTest
Change-Id: I5eba7fbd59a2d3fd2e8062c9615946dc4bbb6314

6 years agoAdd summary text for "Automatic system updates" option.
Tao Bao [Fri, 23 Mar 2018 01:47:57 +0000 (18:47 -0700)]
Add summary text for "Automatic system updates" option.

Fixes: 72472580
Test: m -j RunSettingsRoboTests
Test: Build and flash on sailfish. Check the text.
Change-Id: Ied5b307f8c43c0bdccea4996cced483ce54568e7

6 years agoAdd string for forget confirmation dialog
hylo [Thu, 22 Mar 2018 04:39:00 +0000 (12:39 +0800)]
Add string for forget confirmation dialog

Bug: 71812838
Test: Manual test
Change-Id: I01d9bdce1b06bfeeff406b1e45be900325041ecc

6 years agoMerge "Add manage notifications screen" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 02:06:38 +0000 (02:06 +0000)]
Merge "Add manage notifications screen" into pi-dev

6 years agoMerge "Allow developer options in retail mode" into pi-dev
Christine Franks [Fri, 23 Mar 2018 01:11:23 +0000 (01:11 +0000)]
Merge "Allow developer options in retail mode" into pi-dev

6 years agoMerge "Fix PATTERN UI to align PIN&PASSWORD screen" into pi-dev
Jyun LuoLai [Fri, 23 Mar 2018 00:56:00 +0000 (00:56 +0000)]
Merge "Fix PATTERN UI to align PIN&PASSWORD screen" into pi-dev

6 years agoAdd manage notifications screen
Julia Reynolds [Wed, 21 Mar 2018 19:23:13 +0000 (15:23 -0400)]
Add manage notifications screen

Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: I1c872c976677ee38f7d9d9523d18fc8ca03fa547

Add manage notifications screen

Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: Ia3626e9f69e8b91b1a2bba9ef549c775972e749a

6 years agoGet rid of UserPackageWrapper util.
Fan Zhang [Thu, 22 Mar 2018 22:28:46 +0000 (15:28 -0700)]
Get rid of UserPackageWrapper util.

Robolectric can support framework private classes now, so there is no
need to use wrappers.

Bug: 76167422
Test: robotests
Change-Id: I034a9f0a9856348bff491f2e9b2b1f7d682ab942

6 years agoMerge "Add Slider template for Slices" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 22:08:54 +0000 (22:08 +0000)]
Merge "Add Slider template for Slices" into pi-dev

6 years agoGet rid of extra whitespace under divider lines
Fan Zhang [Thu, 22 Mar 2018 22:02:58 +0000 (15:02 -0700)]
Get rid of extra whitespace under divider lines

Change-Id: Iad5ec5771a61c6e12aaefbe5fe41d17f7f09de73
Fixes: 76116029
Test: visual

6 years agoMerge "Add a setting for the volume hush gesture" into pi-dev
Julia Reynolds [Thu, 22 Mar 2018 22:03:48 +0000 (22:03 +0000)]
Merge "Add a setting for the volume hush gesture" into pi-dev

6 years agoMerge "Update the toggle state in constructor." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 21:43:52 +0000 (21:43 +0000)]
Merge "Update the toggle state in constructor." into pi-dev

6 years agoMerge "Misc string updates" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 21:33:54 +0000 (21:33 +0000)]
Merge "Misc string updates" into pi-dev

6 years agoMerge "Make GLIF theme default for confirm lock screen" into pi-dev
Maurice Lam [Thu, 22 Mar 2018 21:04:17 +0000 (21:04 +0000)]
Merge "Make GLIF theme default for confirm lock screen" into pi-dev

6 years agoMisc string updates
Fan Zhang [Thu, 22 Mar 2018 19:35:14 +0000 (12:35 -0700)]
Misc string updates

Bug: 76022431
Fixes: 17822183

Test: visual
Change-Id: I952e04ca8f5d45612f0088729c2691c60cf3afab

6 years agoAdd Slider template for Slices
Matthew Fritze [Tue, 6 Feb 2018 22:13:02 +0000 (14:13 -0800)]
Add Slider template for Slices

Add the Seekbar preference equivalent
to the TwoStatePreference (toggle) preference
controller abstract controller.

Change-Id: I6ff91f2f72a7f72c18ddbc27b2b1fda4b6ce6ca9
Fixes: 67996707
Test: Robotests

6 years agoMerge "Put the FLAG_ACTIVITY_NEW_TASK flag for the "Learn More" button in the "Add...
TreeHugger Robot [Thu, 22 Mar 2018 18:38:30 +0000 (18:38 +0000)]
Merge "Put the FLAG_ACTIVITY_NEW_TASK flag for the "Learn More" button in the "Add Account" settings screen." into pi-dev

6 years agoUpdate the toggle state in constructor.
Lei Yu [Thu, 22 Mar 2018 18:12:29 +0000 (11:12 -0700)]
Update the toggle state in constructor.

Before this cl, the update of toggle depends on BroadcastReceiver.
However it is not called when toggle is inited, which make the toggle in
broken state sometimes.

This cl make it execute the update method in constructor, so toggle can
get the correct state when it is created.

Fixes: 73718975
Test: RunSettingsRoboTests
Change-Id: Icb798afaff0bdeedad3a966315441712be2e2523

6 years agoMerge "Add log for AnomalyDetectionJobService" into pi-dev
Lei Yu [Thu, 22 Mar 2018 17:53:17 +0000 (17:53 +0000)]
Merge "Add log for AnomalyDetectionJobService" into pi-dev

6 years agoPut the FLAG_ACTIVITY_NEW_TASK flag for the "Learn More" button in the "Add Account...
arangelov [Thu, 22 Mar 2018 16:18:49 +0000 (16:18 +0000)]
Put the FLAG_ACTIVITY_NEW_TASK flag for the "Learn More" button in the "Add Account" settings screen.

Bug: 75322399
Test: Manually pressed the button and verified the Settings app does not crash.
Change-Id: Ibd2b985ed898ccaa4e78c0ecf5dc667af6bc8cba

6 years agoMerge "Fix crash when launching mobile data usage page via intent." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 07:24:23 +0000 (07:24 +0000)]
Merge "Fix crash when launching mobile data usage page via intent." into pi-dev

6 years agoMerge "Fix renaming for Bluetooth devices when rotating to landscape" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 07:17:17 +0000 (07:17 +0000)]
Merge "Fix renaming for Bluetooth devices when rotating to landscape" into pi-dev

6 years agoMerge "Fix crash when pausing DndCondition." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 05:06:15 +0000 (05:06 +0000)]
Merge "Fix crash when pausing DndCondition." into pi-dev

6 years agoMerge "Remove extra padding above Wi-Fi picker, Pointer speed, Automatica date &...
TreeHugger Robot [Thu, 22 Mar 2018 05:05:21 +0000 (05:05 +0000)]
Merge "Remove extra padding above Wi-Fi picker, Pointer speed, Automatica date & time, Automatic timezone, Automatic 24-hour format, New notifications and App settings" into pi-dev

6 years agoMerge "Update "Vibrate on tap" string" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 05:03:38 +0000 (05:03 +0000)]
Merge "Update "Vibrate on tap" string" into pi-dev

6 years agoMerge "Add back the data saver preference." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 04:56:35 +0000 (04:56 +0000)]
Merge "Add back the data saver preference." into pi-dev

6 years agoMerge "use placeholder text for "turn on battery saver at x%" pref" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 04:32:18 +0000 (04:32 +0000)]
Merge "use placeholder text for "turn on battery saver at x%" pref" into pi-dev

6 years agoMerge "Only show restricted apps that belong to the user." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 04:31:38 +0000 (04:31 +0000)]
Merge "Only show restricted apps that belong to the user." into pi-dev

6 years agoMerge "Fix "Send feedback about this device" option is missing issue." into pi-dev
WAYNE YANG [Thu, 22 Mar 2018 03:56:41 +0000 (03:56 +0000)]
Merge "Fix "Send feedback about this device" option is missing issue." into pi-dev

6 years agoMerge "Fix entity header to "Hide" shadow of app bar unless scrolled." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 03:17:29 +0000 (03:17 +0000)]
Merge "Fix entity header to "Hide" shadow of app bar unless scrolled." into pi-dev

6 years agoMerge "Modify "Updated ..." text." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 02:58:41 +0000 (02:58 +0000)]
Merge "Modify "Updated ..." text." into pi-dev

6 years agoAdd back the data saver preference.
Andreas Terzis [Sat, 17 Mar 2018 23:27:20 +0000 (16:27 -0700)]
Add back the data saver preference.

Bug: 70950124

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

6 years agoFix "Send feedback about this device" option is missing issue.
wayneyang [Wed, 21 Mar 2018 12:05:09 +0000 (20:05 +0800)]
Fix "Send feedback about this device" option is missing issue.

When device restart & launching "Feedback" from lock screen,
the "send feedback" option will be missing. It's because
the report package cannot be found by calling from lock screen.
Update the option visibility after updatestate and add test case.

Bug: 74076963
Test: Manual test and RunSettingsRoboTests:FeedbackPreferenceControllerTest
Change-Id: I105d6f90da499423b6881f2ba808e69bd2e8595d

6 years agoMake GLIF theme default for confirm lock screen
Maurice Lam [Thu, 22 Mar 2018 01:21:04 +0000 (18:21 -0700)]
Make GLIF theme default for confirm lock screen

Use GLIF theme as the default for confirm lock screen, even for
"external" launches of the screen. Renamed the theme from "internal"
to "normal" to reflect this change.
Dark theme code will be cleaned up later.

Test: Existing tests pass
Bug: 62573742
Change-Id: I86958eb3a440d7274807f1cf453c3e53c16c23e7

6 years agoAdd log for AnomalyDetectionJobService
Lei Yu [Tue, 20 Mar 2018 18:33:13 +0000 (11:33 -0700)]
Add log for AnomalyDetectionJobService

When anomaly is detected, also log it in AnomalyDetectionJobService

Bug: 73888115
Test: RunSettingsRoboTests
Change-Id: I0a42f8935d9a83eb763dd1f9dedfb71301853104

6 years agouse placeholder text for "turn on battery saver at x%" pref
Fan Zhang [Thu, 22 Mar 2018 00:12:32 +0000 (17:12 -0700)]
use placeholder text for "turn on battery saver at x%" pref

Change-Id: I63f0994bbcb050473c21c606337accd63cfcc46c
Fixes: 74120099
Test: reindex search

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 00:23:30 +0000 (00:23 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoFix crash when launching mobile data usage page via intent.
Fan Zhang [Wed, 21 Mar 2018 23:11:31 +0000 (16:11 -0700)]
Fix crash when launching mobile data usage page via intent.

Need to parse parameters from Intent if argument is empty or has no
parameter.

Change-Id: I23af434e1be794036dc711b72e0d9afa8bd65aa6
Fixes: 74235734
Test: robotests

6 years agoFix renaming for Bluetooth devices when rotating to landscape
Antony Sargent [Tue, 20 Mar 2018 23:15:44 +0000 (16:15 -0700)]
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
(cherry picked from commit 5a1587526b9a6ddfdb2bde2f6e24815e9fe5b36a)

6 years agoMerge "Add string for adaptive brightness" into pi-dev
Lei Yu [Wed, 21 Mar 2018 22:35:01 +0000 (22:35 +0000)]
Merge "Add string for adaptive brightness" into pi-dev

6 years agoMerge "Implement new BS warning / notification flow (2/2)" into pi-dev
Makoto Onuki [Wed, 21 Mar 2018 22:32:33 +0000 (22:32 +0000)]
Merge "Implement new BS warning / notification flow (2/2)" into pi-dev

6 years agoOnly show restricted apps that belong to the user.
Lei Yu [Tue, 20 Mar 2018 23:11:25 +0000 (16:11 -0700)]
Only show restricted apps that belong to the user.

Filter out the restricted apps that not belong to the correct user, in
this way secondary user cannot see what apps been restricted by primary
user.

Bug: 74076658
Test: RunSettingsRoboTests
Change-Id: I8471f07be747c177f8611cdc1973a8420dc41296

6 years agoModify "Updated ..." text.
Sundeep Ghuman [Wed, 21 Mar 2018 00:05:07 +0000 (17:05 -0700)]
Modify "Updated ..." text.

Use d/h/m "narrow" time formatting with no period.

Change font style when update is "old."

Bug: 70950124
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DataUsageSummaryPreferenceTest

Change-Id: I25902c98eb0fdf4dd2f64c3f5d668b5efdcdff0c

6 years agoFix entity header to "Hide" shadow of app bar unless scrolled.
Jan Nordqvist [Tue, 20 Mar 2018 23:21:47 +0000 (16:21 -0700)]
Fix entity header to "Hide" shadow of app bar unless scrolled.

Bug: 70950124

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

6 years agoHide password for wifi tether
Lei Yu [Wed, 21 Mar 2018 00:22:24 +0000 (17:22 -0700)]
Hide password for wifi tether

Add summaryPassword variable in ValidatedEditTextPreference. If it
is true, set the summary textview with password flag.

Bug: 65413204
Test: RunSettingsRoboTests
Change-Id: Ia0f1e3ab50e81d8f7f9fc0fb34b35c3041200a4e

6 years agoMerge "Hide spannable link if it's not actionable" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 21:55:45 +0000 (21:55 +0000)]
Merge "Hide spannable link if it's not actionable" into pi-dev

6 years agoFix crash when pausing DndCondition.
Doris Ling [Wed, 21 Mar 2018 21:27:29 +0000 (14:27 -0700)]
Fix crash when pausing DndCondition.

- check whether the receiver is registered before trying to unregister
it.

Change-Id: Ia949f5a90b8866f01684dc2c7797e87d8dc7804e
Fixes: 74073233
Test: make RunSettingsRoboTests

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Mar 2018 18:06:14 +0000 (11:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6cc802e72ebf5753bf7441dc6c9232379d9e17f2

6 years agoMerge "Add search index provider for bt page" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 20:48:41 +0000 (20:48 +0000)]
Merge "Add search index provider for bt page" into pi-dev

6 years agoAdd string for adaptive brightness
Lei Yu [Wed, 21 Mar 2018 20:00:15 +0000 (13:00 -0700)]
Add string for adaptive brightness

Bug: 69795935
Test: Build
Change-Id: If99bd796711f3e77ef5e88533b3a6d683acc54e3

6 years agoMerge "Update AP preference to not be master switch pref" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:52:05 +0000 (19:52 +0000)]
Merge "Update AP preference to not be master switch pref" into pi-dev

6 years agoHide spannable link if it's not actionable
Fan Zhang [Wed, 21 Mar 2018 01:07:31 +0000 (18:07 -0700)]
Hide spannable link if it's not actionable

Created a new constructor that detects if intent is actionable and set a
flag in LinkInfo.

In fragments, first check if linkInfo is actionable, if not, don't do
anything with it.

Change-Id: Ibda12ecac2545d696acc7c197fc315e423b984aa
Fixes: 74726487
Test: make RunSettingsRoboTests -j

6 years agoAdd a setting for the volume hush gesture
Julia Reynolds [Fri, 16 Mar 2018 15:31:12 +0000 (11:31 -0400)]
Add a setting for the volume hush gesture

Bug: 75252670
Test: make -j20 RunSettingsRoboTests
Change-Id: I699aeec54eb516931b6d7c5b3fc864b169015c2f

6 years agoMerge "Correct typo for "Redirect vibration"" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:03:53 +0000 (19:03 +0000)]
Merge "Correct typo for "Redirect vibration"" into pi-dev

6 years agoMerge "Fingerprint enrollment vibrate unchanged by dnd" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 18:44:56 +0000 (18:44 +0000)]
Merge "Fingerprint enrollment vibrate unchanged by dnd" into pi-dev

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 agoImplement new BS warning / notification flow (2/2)
Makoto Onuki [Tue, 20 Mar 2018 20:05:22 +0000 (13:05 -0700)]
Implement new BS warning / notification flow (2/2)

Bug: 74120126
Test: Manual tests
Change-Id: Ieea6ee97695cd5a30e55f5c6ccec8135ec2d0ef4

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 agoAdd search index provider for bt page
Lei Yu [Fri, 9 Mar 2018 02:04:25 +0000 (18:04 -0800)]
Add search index provider for bt page

1. Implement the search index provider for
ConnectedDeviceDashboardFragment.
2. Since in SEARCH_INDEX_DATA_PROVIDER fragment is null,
so we need to pass in context to all components
instead of getting it from fragment.
3. Update test for it as well as creating new shadow.

Change-Id: If0aa67d5b6ca207c6b728c8355581bf414577091
Fixes: 69333961
Test: RunSettingsRoboTests

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 agoUpdate AP preference to not be master switch pref
Salvador Martinez [Tue, 20 Mar 2018 17:10:31 +0000 (10:10 -0700)]
Update AP preference to not be master switch pref

People keep getting confused by the master switch preference for
wireless tethering. The wireless tethering page already has a switch
so this just removes it from the preference and has it take you to
the page when tapped on instead.

Bug: 69423941
Test: robotests
Change-Id: I66d6d3271e83b49ae77f203e7892438d27f96025

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 agoShow policy transparency popup dialog for Bluetooth in Settings.
arangelov [Thu, 15 Mar 2018 16:18:52 +0000 (16:18 +0000)]
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

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 agoAlign email provider correctly for RTL locales
leo huang [Wed, 21 Mar 2018 08:14:19 +0000 (16:14 +0800)]
Align email provider correctly for RTL locales

Align email provider under User & accounts correctly for RTL locales

Bug: 72398295
Test: Robotest and manual test
Change-Id: I0ecbaa58366c01a75fc7ff4e2adbfba97ddc4add

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 agoCorrect typo for "Redirect vibration"
Shawn Ding [Wed, 21 Mar 2018 04:53:17 +0000 (12:53 +0800)]
Correct typo for "Redirect vibration"

The string is "vibration" , not "vibrator".

Fixes: 75277798
Test: Manual test

Change-Id: I065f4f556e9b719b89b0abeca709ebdcc53b3321

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 agoRemove extra padding above Wi-Fi picker, Pointer speed, Automatica date & time, Autom...
anitalin [Wed, 21 Mar 2018 01:34:17 +0000 (09:34 +0800)]
Remove extra padding above Wi-Fi picker, Pointer speed, Automatica date & time, Automatic timezone, Automatic 24-hour format, New notifications and App settings

Bug: 73775027
Test: Robotest and manual test
Change-Id: Ifdec1c2a9b8ce34007ee468ada3f8449005d3263

6 years agoFix PATTERN UI to align PIN&PASSWORD screen
Jyun LuoLai [Thu, 15 Mar 2018 06:11:30 +0000 (14:11 +0800)]
Fix PATTERN UI to align PIN&PASSWORD screen

Change-Id: I475e90ab11a9821fc21623dcfdd3854914a7eb04
Fixes: 69002501
Test: Manual test & make RunSettingsRoboTests

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 agoAllow developer options in retail mode
Christine Franks [Tue, 20 Feb 2018 19:52:44 +0000 (11:52 -0800)]
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

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