OSDN Git Service

android-x86/packages-apps-Settings.git
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 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 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 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 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 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 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 agoFingerprint enrollment vibrate unchanged by dnd
Beverly [Tue, 20 Mar 2018 21:21:05 +0000 (17:21 -0400)]
Fingerprint enrollment vibrate unchanged by dnd

Turning on dnd (and not allowing touch sounds) doesn't
prevent the vibrations for fingerprint enrollment in settings,
because now it'll have the correct sonification attributes
that aren't muted by DND.

Bug: 76016723
Test: manual
Change-Id: I51cb14b25a2555628ff475c3a1b9e55fb3234c14

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