OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Add nearby device SlicePreference"
TreeHugger Robot [Tue, 12 Feb 2019 04:16:26 +0000 (04:16 +0000)]
Merge "Add nearby device SlicePreference"

5 years ago[automerger skipped] Merge "Schematize Display system properties" am: b139a4c16b...
Kiyoung Kim [Tue, 12 Feb 2019 03:47:09 +0000 (19:47 -0800)]
[automerger skipped] Merge "Schematize Display system properties" am: b139a4c16b am: 4d8f4919e0
am: b941bc46b5 -s ours
am skip reason: change_id I83b40ddfcde32d8d03fae73f5c252013933c466c with SHA1 1a3425ed2a is in history

Change-Id: I880ee2758010f1be44e9f24bbc35596fbccea0d8

5 years agoMerge "Schematize Display system properties" am: b139a4c16b
Kiyoung Kim [Tue, 12 Feb 2019 03:25:50 +0000 (19:25 -0800)]
Merge "Schematize Display system properties" am: b139a4c16b
am: 4d8f4919e0

Change-Id: I35412244d1fa97cb479d060e876bfddac6b523cb

5 years agoMerge "Fix Wi-Fi DPP fragment back stack problems"
TreeHugger Robot [Tue, 12 Feb 2019 03:17:57 +0000 (03:17 +0000)]
Merge "Fix Wi-Fi DPP fragment back stack problems"

5 years agoMerge "Schematize Display system properties"
Kiyoung Kim [Tue, 12 Feb 2019 03:13:51 +0000 (19:13 -0800)]
Merge "Schematize Display system properties"
am: b139a4c16b

Change-Id: I82b157865fb288044c251d6d78ca850b22502db0

5 years agoMerge "Schematize Display system properties"
Treehugger Robot [Tue, 12 Feb 2019 02:50:08 +0000 (02:50 +0000)]
Merge "Schematize Display system properties"

5 years agoAdd nearby device SlicePreference
jackqdyulei [Fri, 8 Feb 2019 22:09:12 +0000 (14:09 -0800)]
Add nearby device SlicePreference

Change-Id: I9e88602df9ab589c3eea087b1202cbc7615dc810
Fixes: 116327443
Test: RunSettingsRoboTests

5 years agoMerge "Remove intent-filters from SettingsSliceProvider"
TreeHugger Robot [Tue, 12 Feb 2019 00:43:03 +0000 (00:43 +0000)]
Merge "Remove intent-filters from SettingsSliceProvider"

5 years agoMerge "Don't load anything from contextual card db in legacy mode."
TreeHugger Robot [Tue, 12 Feb 2019 00:15:25 +0000 (00:15 +0000)]
Merge "Don't load anything from contextual card db in legacy mode."

5 years agoRemove intent-filters from SettingsSliceProvider
Fan Zhang [Mon, 11 Feb 2019 22:38:13 +0000 (14:38 -0800)]
Remove intent-filters from SettingsSliceProvider

And remove unused methods from SliceDeepLinkSpringBoard.

This is part 1 of b/110156445

Bug: 110156445
Test: atest
Change-Id: Iab36a97332fd847ed911a9e34b505fd4a64522d3

5 years agoMerge "Create special case mobile data slice"
TreeHugger Robot [Mon, 11 Feb 2019 22:53:50 +0000 (22:53 +0000)]
Merge "Create special case mobile data slice"

5 years agoDon't load anything from contextual card db in legacy mode.
Fan Zhang [Mon, 11 Feb 2019 21:17:07 +0000 (13:17 -0800)]
Don't load anything from contextual card db in legacy mode.

Change-Id: I2fa1ee78bb8878c2cf46fd2f59499c9ed8eb0a09
Fixes: 124246284
Test: robotest

5 years agoMerge "Update search for mobile network settings"
Lei Yu [Mon, 11 Feb 2019 18:00:57 +0000 (18:00 +0000)]
Merge "Update search for mobile network settings"

5 years agoFix Wi-Fi DPP fragment back stack problems
Arc Wang [Thu, 31 Jan 2019 03:07:38 +0000 (11:07 +0800)]
Fix Wi-Fi DPP fragment back stack problems

1. When a Wi-Fi network connected and receiving
   intent android.settings.PROCESS_WIFI_EASY_CONNECT_QR_CODE,
   show WifiDppAddDeviceFragment from WifiDppConfiguratorActivity
   instead of WifiNetworkListFragment

2. Only handle intent when savedInstanceState is null

3. To show a fragment
   I. do nothing when a fragment is already visible on screen,
   II. pop back stack if it's in back stack, we can do this because
   current fragment transactions are arranged in an order

Bug: 124194531
Test: atest WifiQrCodeTest
      atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest WifiDppQrCodeScannerFragmentTest
      atest WifiNetworkListFragmentTest
      atest WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: I1d44eeb3bdc7bfb2ec2e4d81efaab64b066651ad

5 years agoMerge "Remove hardcode class path for CredentialStorage."
TreeHugger Robot [Sat, 9 Feb 2019 01:47:35 +0000 (01:47 +0000)]
Merge "Remove hardcode class path for CredentialStorage."

5 years agoUpdate search for mobile network settings
jackqdyulei [Wed, 9 Jan 2019 21:15:53 +0000 (13:15 -0800)]
Update search for mobile network settings

This CL make all mobile related preferences support:
1. If subId is manually set, check visibility by subId
2. If not, try find whether there is one active subId meets requirement.
If so, isAvailable() will return true to enable search.

Bug: 77276236
Test: RunSettingsRoboTests
Change-Id: I24e2d2f5e882284ba8e997b844caee7722b6b07d

5 years agoMerge "Add divider line in battery page"
Lei Yu [Sat, 9 Feb 2019 00:20:35 +0000 (00:20 +0000)]
Merge "Add divider line in battery page"

5 years agoRemove hardcode class path for CredentialStorage.
Fan Zhang [Fri, 8 Feb 2019 22:54:05 +0000 (14:54 -0800)]
Remove hardcode class path for CredentialStorage.

It can launch with a intent action directly.

Change-Id: I26a3a63d1790c1fd184b38711c736428f86f3659
Fixes: 124124110
Test: manual

5 years agoMerge changes I9185949e,Ia0f15fd7
TreeHugger Robot [Fri, 8 Feb 2019 22:41:40 +0000 (22:41 +0000)]
Merge changes I9185949e,Ia0f15fd7

* changes:
  Remove advanced button from location settings
  Update strings on date & time setting.

5 years agoMerge "Set summary for SIM entries in multi-SIM header"
TreeHugger Robot [Fri, 8 Feb 2019 22:06:18 +0000 (22:06 +0000)]
Merge "Set summary for SIM entries in multi-SIM header"

5 years agoMerge "Use system attr instead of hardcoding for searchbar radius"
TreeHugger Robot [Fri, 8 Feb 2019 21:32:47 +0000 (21:32 +0000)]
Merge "Use system attr instead of hardcoding for searchbar radius"

5 years agoAdd divider line in battery page
jackqdyulei [Fri, 8 Feb 2019 21:11:04 +0000 (13:11 -0800)]
Add divider line in battery page

Change-Id: Ib5b1d7980cb6c453bb656a36ff6f1bb62bffc803
Fixes: 119618813
Test: Manual

5 years agoCreate special case mobile data slice
Matthew Fritze [Thu, 10 Jan 2019 18:02:49 +0000 (10:02 -0800)]
Create special case mobile data slice

Build the special case mobile data slice for general use,
and for the Internet Connectivity Panel. The Slice controls
the default data subscription, and links to the subscriptions
page.

Bug: 117804089
Fixse: 119411534
Test: robotests & test app.

Change-Id: I31b524a8fe3182a244d940848090e97250632f39

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 8 Feb 2019 20:57:24 +0000 (20:57 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoRemove advanced button from location settings
Fan Zhang [Fri, 8 Feb 2019 20:36:13 +0000 (12:36 -0800)]
Remove advanced button from location settings

Change-Id: I9185949edffbc4588287221b81d30e136e755f85
Fixes: 124059127
Test: manual

5 years agoSet summary for SIM entries in multi-SIM header
Antony Sargent [Thu, 7 Feb 2019 18:22:29 +0000 (10:22 -0800)]
Set summary for SIM entries in multi-SIM header

On the Network & internet page, when you have multiple active SIMs we
add a header with an entry for each one. This CL sets the summary for
those entries to be a 1 or 2 line indication of what services (calls,
SMS, and data) that SIM is used for by default, or just an indication
that the SIM is available. And for the SIM used by default for data, we
include status information about whether it's connected or not.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: I46f37433f753724bbde8876f0d89c3155b2c3812

5 years agoUpdate strings on date & time setting.
Fan Zhang [Fri, 8 Feb 2019 19:16:05 +0000 (11:16 -0800)]
Update strings on date & time setting.

Change-Id: Ia0f15fd7e680d6dd864567a31186b7e2090c435f
Fixes: 123812588
Test: visual

5 years agoUse system attr instead of hardcoding for searchbar radius
Fan Zhang [Fri, 8 Feb 2019 17:46:31 +0000 (09:46 -0800)]
Use system attr instead of hardcoding for searchbar radius

Change-Id: I41aa10b7fc13271e2d9369fe4dc4e1808a0c1044
Fixes: 123985440
Test: visual

5 years agoMerge "Fix failing test"
Julia Reynolds [Fri, 8 Feb 2019 17:53:43 +0000 (17:53 +0000)]
Merge "Fix failing test"

5 years agoFix failing test
Julia Reynolds [Fri, 8 Feb 2019 15:49:11 +0000 (10:49 -0500)]
Fix failing test

Test: robo tests
Change-Id: Ic4c927948b3c91a126ab830960e12550a5fd80fa
Fixes: 124077441

5 years agoMerge "Logging SetNewPasswordActivity events"
TreeHugger Robot [Fri, 8 Feb 2019 13:59:19 +0000 (13:59 +0000)]
Merge "Logging SetNewPasswordActivity events"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 8 Feb 2019 09:07:35 +0000 (01:07 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id12a885466480f418f45a1b6e881477771a4b86a
Auto-generated-cl: translation import

5 years agoMerge "Fix broken tests."
TreeHugger Robot [Fri, 8 Feb 2019 05:10:48 +0000 (05:10 +0000)]
Merge "Fix broken tests."

5 years agoMerge "Use correct default subscription id to get default network template."
TreeHugger Robot [Fri, 8 Feb 2019 04:09:00 +0000 (04:09 +0000)]
Merge "Use correct default subscription id to get default network template."

5 years agoFix broken tests.
Joel Galenson [Fri, 8 Feb 2019 03:36:21 +0000 (19:36 -0800)]
Fix broken tests.

This test was passing in invalid values for the namespace and key.
Modify it to use the correct ones.

Change-Id: Idc6971c20d64b711953bdde9fe710f592b04e807
Fixes: 124077137
Test: atest VibrateWhenRingPreferenceControllerTest

5 years agoUse correct default subscription id to get default network template.
Doris Ling [Thu, 31 Jan 2019 00:39:29 +0000 (16:39 -0800)]
Use correct default subscription id to get default network template.

- when launching the app info page and no network template is defined in
the launch arguments, use the correct default data subscription id to
check whether mobile network template should be used or not.

Change-Id: If9341abf3416c775a2b7407c1d6d0b33f4aad67f
Fixes: 120098637
Test: make RunSettingsRoboTests

5 years agoMerge "Update strings"
TreeHugger Robot [Thu, 7 Feb 2019 22:29:40 +0000 (22:29 +0000)]
Merge "Update strings"

5 years agoUpdate strings
Fan Zhang [Thu, 7 Feb 2019 19:53:59 +0000 (11:53 -0800)]
Update strings

Change-Id: Idbf1e3a8b0c7116271e424548ef37340199eaea2
Fixes: 124049901
Test: manual

5 years agoMerge "Revert "Update proguard""
TreeHugger Robot [Thu, 7 Feb 2019 17:42:47 +0000 (17:42 +0000)]
Merge "Revert "Update proguard""

5 years agoMerge "Fix mobile data on/off switch for multi-sim case"
TreeHugger Robot [Thu, 7 Feb 2019 16:51:02 +0000 (16:51 +0000)]
Merge "Fix mobile data on/off switch for multi-sim case"

5 years agoMerge "Use ColorDisplayManager for night display settings"
Christine Franks [Thu, 7 Feb 2019 16:11:14 +0000 (16:11 +0000)]
Merge "Use ColorDisplayManager for night display settings"

5 years agoMerge "Enable data when user selects default data through popped up dialog."
Xiangyu/Malcolm Chen [Thu, 7 Feb 2019 03:34:14 +0000 (03:34 +0000)]
Merge "Enable data when user selects default data through popped up dialog."

5 years agoMerge "Retrieve effectiveUserId after userId is set/re-set"
TreeHugger Robot [Thu, 7 Feb 2019 02:01:21 +0000 (02:01 +0000)]
Merge "Retrieve effectiveUserId after userId is set/re-set"

5 years agoMerge "Merge bool.xml and config.xml into one file."
TreeHugger Robot [Thu, 7 Feb 2019 00:16:30 +0000 (00:16 +0000)]
Merge "Merge bool.xml and config.xml into one file."

5 years agoMerge "Change device ID developer setting to disable option"
Michael Groover [Thu, 7 Feb 2019 00:03:59 +0000 (00:03 +0000)]
Merge "Change device ID developer setting to disable option"

5 years agoMerge changes I690fa4c2,I53632e4e
Fan Zhang [Wed, 6 Feb 2019 23:51:57 +0000 (23:51 +0000)]
Merge changes I690fa4c2,I53632e4e

* changes:
  Use system defined card corners instead of hardcoding to 8.
  Add PRIVACY_SETTINGS intent to privacy, not backup, page.

5 years agoEnable data when user selects default data through popped up dialog.
Malcolm Chen [Wed, 6 Feb 2019 23:23:23 +0000 (15:23 -0800)]
Enable data when user selects default data through popped up dialog.

In DSDS device, when user explicitly selects a SIM as data SIM, we
should not only set it as default data SIM in Telephony, but also
enable its data.

Bug: 120712558
Test: manual
Change-Id: I429efa090ebf5bb71ee491ae66525abee00f62c6

5 years agoFix mobile data on/off switch for multi-sim case
Antony Sargent [Wed, 6 Feb 2019 21:55:08 +0000 (13:55 -0800)]
Fix mobile data on/off switch for multi-sim case

In multi-sim, the on/off switch for mobile data on the mobile network
details page doesn't quite work right. The thing it's missing is
checking whether the current sim is the default one used for data - if
it's not the default, then the switch should be off even if mobile data
is turned on. And clicking to enable needs to prompt the user to ask if
this sim should be become the new default one, which we already have
code for, but we weren't triggering it properly.

Bug: 124005813
Test: make RunSettingsRoboTests
Change-Id: Ifdf58addfde94b3bac85c68e4b22ddfbaf01dff7

5 years agoMerge bool.xml and config.xml into one file.
Fan Zhang [Wed, 6 Feb 2019 22:17:53 +0000 (14:17 -0800)]
Merge bool.xml and config.xml into one file.

Bug: 124008048
Test: rebuild
Change-Id: I3a6522e6d0939ef1f80406d91b35492360916aa1

5 years agoChange device ID developer setting to disable option
Michael Groover [Wed, 6 Feb 2019 22:09:13 +0000 (14:09 -0800)]
Change device ID developer setting to disable option

Bug: 123646983
Test: Manually verified toggling the option set the expected value
Change-Id: Ia219c154d9572111c4fce1af4128a103ba0409ec

5 years agoUse system defined card corners instead of hardcoding to 8.
Fan Zhang [Wed, 6 Feb 2019 18:43:54 +0000 (10:43 -0800)]
Use system defined card corners instead of hardcoding to 8.

Change-Id: I690fa4c2d5a52d1cb6e1606b5c961d0116a5707b
Fixes: 123985440
Test: visual

5 years agoAdd PRIVACY_SETTINGS intent to privacy, not backup, page.
Fan Zhang [Wed, 6 Feb 2019 18:37:03 +0000 (10:37 -0800)]
Add PRIVACY_SETTINGS intent to privacy, not backup, page.

Bug: 123878762
Test: updated backupSettingsHelper
Change-Id: I53632e4eeb5fa42447aa5fc075be69eeb68cdd52

5 years agoRetrieve effectiveUserId after userId is set/re-set
Kevin Chyn [Wed, 6 Feb 2019 02:55:52 +0000 (18:55 -0800)]
Retrieve effectiveUserId after userId is set/re-set

Fixes: 123502937

Test: Followed steps in comment #1 of the first bug above
      Note that the test should be done with unified lock disabled, e.g.
      have separate pin/pattern/pass for owner and work profile

Change-Id: I01d66a8a1d3ed1811497c2acb7db6158d99727a0

5 years agoMerge "Add master audio balance setting"
Andy Hung [Wed, 6 Feb 2019 18:51:35 +0000 (18:51 +0000)]
Merge "Add master audio balance setting"

5 years agoMerge "Add an on/off switch to the top of mobile network details page"
TreeHugger Robot [Wed, 6 Feb 2019 18:00:25 +0000 (18:00 +0000)]
Merge "Add an on/off switch to the top of mobile network details page"

5 years agoRevert "Update proguard"
Beverly Tai [Wed, 6 Feb 2019 15:44:20 +0000 (15:44 +0000)]
Revert "Update proguard"

This reverts commit dbd48da49aea77397b0418130cb798fa46851a84.

Reason for revert: was only hiding aware settings for beta 1
Bug: 123532083
Change-Id: I7d07f9ec62a3bd6f81838da1e2639102d501e1c4

5 years agoMerge "Add settings for notification bubbling"
Julia Reynolds [Wed, 6 Feb 2019 13:41:43 +0000 (13:41 +0000)]
Merge "Add settings for notification bubbling"

5 years agoUpdate header test to 'Work profile input & assistance'
Yohei Yukawa [Wed, 6 Feb 2019 03:54:59 +0000 (19:54 -0800)]
Update header test to 'Work profile input & assistance'

Per suggestion from UX, this CL updates the category header of
work-profile specific enties in Languages & input from
  Work profile
to
  Work profile input & assistance.

Other than that, there is no user-visible behavior change.

Bug: 123314089
Test: Manually verified as follows.
  1. Build and flash an AOSP build
  2. Install Test DPC
  3. Open Settings -> System -> Languages & input
  4. Make sure that the new category header for work-profile specific
     entries is now shown as "Work profile input & assistance"
Change-Id: I4a4fb7c8a31d8d849780e71796b92ec0a2f026e3

5 years agoMerge "Move android.settings.PRIVACY_SETTINGS to PrivacySettings."
TreeHugger Robot [Wed, 6 Feb 2019 03:20:35 +0000 (03:20 +0000)]
Merge "Move android.settings.PRIVACY_SETTINGS to PrivacySettings."

5 years agoMerge "Add developer option for device identifier restrictions"
Michael Groover [Wed, 6 Feb 2019 00:00:08 +0000 (00:00 +0000)]
Merge "Add developer option for device identifier restrictions"

5 years agoMove android.settings.PRIVACY_SETTINGS to PrivacySettings.
Fan Zhang [Tue, 5 Feb 2019 23:23:39 +0000 (15:23 -0800)]
Move android.settings.PRIVACY_SETTINGS to PrivacySettings.

Bug: 123878762
Test: manual
Change-Id: I9312c8455b0325f7c582523938a1fde21fbd81ce

5 years agoMerge "Use adaptive icon shapes for settings homeepage"
TreeHugger Robot [Tue, 5 Feb 2019 23:13:08 +0000 (23:13 +0000)]
Merge "Use adaptive icon shapes for settings homeepage"

5 years agoMerge "Close slice cursor when done using."
TreeHugger Robot [Tue, 5 Feb 2019 22:57:45 +0000 (22:57 +0000)]
Merge "Close slice cursor when done using."

5 years agoAdd master audio balance setting
Edward Savage-Jones [Tue, 24 Jan 2017 23:44:18 +0000 (00:44 +0100)]
Add master audio balance setting

This adds an audio balance slider to accessibility allowing the end
user to adjust the audio balance between left and right channels.

Test: Change Balance through Settings, play audio
Bug: 28390736
Change-Id: I70f22d222ea310fd33ebe4f3fb054f44f69d2548

5 years agoMerge "Use correct uid when querying usage data for specific user."
TreeHugger Robot [Tue, 5 Feb 2019 22:11:04 +0000 (22:11 +0000)]
Merge "Use correct uid when querying usage data for specific user."

5 years agoMerge "Update the Hearing Aids Strings" am: 3afa2a7acb am: f8ba53c6fb
Stanley Tng [Tue, 5 Feb 2019 21:32:47 +0000 (13:32 -0800)]
Merge "Update the Hearing Aids Strings" am: 3afa2a7acb am: f8ba53c6fb
am: fdd54f74ed

Change-Id: I3b33647aac8fa8fe1757825a3f9d43fccc9efa35

5 years agoMerge "Update the Hearing Aids Strings" am: 3afa2a7acb
Stanley Tng [Tue, 5 Feb 2019 21:16:09 +0000 (13:16 -0800)]
Merge "Update the Hearing Aids Strings" am: 3afa2a7acb
am: f8ba53c6fb

Change-Id: I5d6a76265ccb0a7263bb689fa8a3ef4a0044e77a

5 years agoMerge "Update the Hearing Aids Strings"
Stanley Tng [Tue, 5 Feb 2019 21:05:41 +0000 (13:05 -0800)]
Merge "Update the Hearing Aids Strings"
am: 3afa2a7acb

Change-Id: I5310642f04558d961aa82df933791b08d883d92e

5 years agoClose slice cursor when done using.
Fan Zhang [Tue, 5 Feb 2019 20:43:51 +0000 (12:43 -0800)]
Close slice cursor when done using.

Change-Id: I22f2d5fe990fb43e1694879f27d7c0be26675d2b
Fixes: 123878106
Test: manual

5 years agoAdd an on/off switch to the top of mobile network details page
Antony Sargent [Fri, 1 Feb 2019 00:21:26 +0000 (16:21 -0800)]
Add an on/off switch to the top of mobile network details page

When a device is in DSDS mode and has two mobile network subscriptions,
a user may want to completely disable one of those subscriptions. This
implements the UI for this, calling into some recently added APIs in the
SubscriptionManager class.

Bug: 122670283
Test: make RunSettingsRoboTests
Change-Id: I40fd3e777ce3542004e4761406b24196505b97d8

5 years agoMerge "Move trust agent toggles to developer options"
Vishwath Mohan [Tue, 5 Feb 2019 20:28:31 +0000 (20:28 +0000)]
Merge "Move trust agent toggles to developer options"

5 years agoMerge "Update the Hearing Aids Strings"
Treehugger Robot [Tue, 5 Feb 2019 20:20:51 +0000 (20:20 +0000)]
Merge "Update the Hearing Aids Strings"

5 years agoUse adaptive icon shapes for settings homeepage
Amin Shaikh [Tue, 5 Feb 2019 18:52:30 +0000 (13:52 -0500)]
Use adaptive icon shapes for settings homeepage

- Add AdaptiveIconShapeDrawable for the homepage icon backgrounds
- Rename RoundedHomepageIcon -> AdaptiveHomepageIcon to reflect that the
adaptive icon shape is used

Bug: 123829919
Test: mp settings; manually viewing homepage icons
Change-Id: I9fddfbf57461b300200f30f716d861878bbbcc38

5 years agoUse ColorDisplayManager for night display settings
Christine Franks [Thu, 24 Jan 2019 20:18:40 +0000 (12:18 -0800)]
Use ColorDisplayManager for night display settings

Bug: 123352608
Test: make ROBOTEST_FILTER="(Night*)" RunSettingsRoboTests -j48
Change-Id: Id7f00d7beec737ac9872b85df251ce6e1f76cd55

5 years agoMerge "Add READ_DEVICE_CONFIG permission to allow use of DeviceConfig API when permis...
Stanislav Zholnin [Tue, 5 Feb 2019 17:07:04 +0000 (17:07 +0000)]
Merge "Add READ_DEVICE_CONFIG permission to allow use of DeviceConfig API when permission checks will be introduced."

5 years agoMerge "Update char limit on prevent ringing titles"
TreeHugger Robot [Tue, 5 Feb 2019 16:50:14 +0000 (16:50 +0000)]
Merge "Update char limit on prevent ringing titles"

5 years agoMerge "Show permission group icons in dark mode."
TreeHugger Robot [Tue, 5 Feb 2019 15:23:50 +0000 (15:23 +0000)]
Merge "Show permission group icons in dark mode."

5 years agoMerge "Check a flag to see whether or not to show permission usage information."
TreeHugger Robot [Tue, 5 Feb 2019 15:23:13 +0000 (15:23 +0000)]
Merge "Check a flag to see whether or not to show permission usage information."

5 years agoUpdate char limit on prevent ringing titles
Beverly [Tue, 5 Feb 2019 15:10:05 +0000 (10:10 -0500)]
Update char limit on prevent ringing titles

Test: manual
Bug: 123025152
Change-Id: Icc0c413d94bae1439a1ac7f1b79b1d8e5a4f0efd

5 years agoMove trust agent toggles to developer options
Vishwath Mohan [Sat, 2 Feb 2019 19:18:30 +0000 (11:18 -0800)]
Move trust agent toggles to developer options

This CL moves two toggles for trust agent extend unlock mode from
Security > Settings to Developer Options instead. It also updates some
of the configuration strings to reflect that this toggles behavior for
trust agents in general.

No new logic is being added here, this simply moves options intended
only for internal dogfooding to a more appropriate location in
preparation for the public Beta.

Bug: 111435975
Bug: 120871688
Test: Manually verified that the settings show up in Developer Options
and work as intended.

Change-Id: I2b6705d50fa783089a5c0dfabf76677af44209f7

5 years agoAdd settings for notification bubbling
Julia Reynolds [Thu, 31 Jan 2019 18:13:30 +0000 (13:13 -0500)]
Add settings for notification bubbling

Globally, as well as at the app and channel level

Test: atest
Bug: 123543052
Change-Id: I1668b592c5d175d77d6a38f35e7576d641175d44

5 years agoRemove duplicate ic_menu_add_white.
Amin Shaikh [Mon, 4 Feb 2019 19:54:41 +0000 (14:54 -0500)]
Remove duplicate ic_menu_add_white.

Bug: 123829919
Test: mp settingsg
Change-Id: I88e0dde22762eb6bc019361222ffe783b1c15133

5 years agoShow permission group icons in dark mode.
Joel Galenson [Mon, 4 Feb 2019 16:00:28 +0000 (08:00 -0800)]
Show permission group icons in dark mode.

Apply the proper tint so that the permission group icons appear in
dark mode.

Change-Id: Ief36e69ed8ae70608f1df79a0e2a17eb79b9f467
Fixes: 123750886
Test: Can see icons in light and dark mode.

5 years agoAdd READ_DEVICE_CONFIG permission to allow use of DeviceConfig API
Stanislav Zholnin [Fri, 1 Feb 2019 13:00:37 +0000 (13:00 +0000)]
Add READ_DEVICE_CONFIG permission to allow use of DeviceConfig API
when permission checks will be introduced.

Test: tested locally with permission checks patched.
Change-Id: I8d6b99edac1c23f27872c0a9ecc99a00db017124

5 years agoUpdate the Hearing Aids Strings
Stanley Tng [Sat, 2 Feb 2019 02:16:30 +0000 (18:16 -0800)]
Update the Hearing Aids Strings

Minor update to the Hearing Aids string by making it plural and also
remove a redundant word "currently".

Bug: 121036176
Test: Compile
Change-Id: I829b8028408f5d07d950580bd4d90ca41bd334f3

5 years agoMerge "More tests for silent status bar setting"
Julia Reynolds [Fri, 1 Feb 2019 20:37:41 +0000 (20:37 +0000)]
Merge "More tests for silent status bar setting"

5 years agoMerge "Make a passthrough drawable for ic_settings_print."
Fan Zhang [Fri, 1 Feb 2019 19:55:52 +0000 (19:55 +0000)]
Merge "Make a passthrough drawable for ic_settings_print."

5 years agoMake a passthrough drawable for ic_settings_print.
Fan Zhang [Fri, 1 Feb 2019 19:41:53 +0000 (11:41 -0800)]
Make a passthrough drawable for ic_settings_print.

Bug: 123711718
Test: visual
Change-Id: I6be16f501522167ea0af58c9eed1c491c3c4525d

5 years agoMerge "Game Driver: Fix EnableForAllApps switch and test"
TreeHugger Robot [Fri, 1 Feb 2019 19:14:03 +0000 (19:14 +0000)]
Merge "Game Driver: Fix EnableForAllApps switch and test"

5 years agoMerge "Add dark theme keywords"
Lucas Dupin [Fri, 1 Feb 2019 18:48:44 +0000 (18:48 +0000)]
Merge "Add dark theme keywords"

5 years agoMerge "Add a metrics for avatar"
TreeHugger Robot [Fri, 1 Feb 2019 18:25:11 +0000 (18:25 +0000)]
Merge "Add a metrics for avatar"

5 years agoMerge "Flags instead of booleans for countPermissionApps"
TreeHugger Robot [Fri, 1 Feb 2019 18:21:33 +0000 (18:21 +0000)]
Merge "Flags instead of booleans for countPermissionApps"

5 years agoMerge "Update call to use new method name."
TreeHugger Robot [Fri, 1 Feb 2019 15:50:51 +0000 (15:50 +0000)]
Merge "Update call to use new method name."

5 years agoLogging SetNewPasswordActivity events
Bernard Chau [Tue, 29 Jan 2019 18:28:13 +0000 (18:28 +0000)]
Logging SetNewPasswordActivity events

Every launch of the activity with either ACTION_SET_NEW_PASSWORD
or ACTION_SET_NEW_PARENT_PROFILE_PASSWORD is logged, regardless
of whether extra EXTRA_PASSWORD_COMPLEXITY is used or whether
the caller has the required permisssion or not
- action: ACTION_SET_NEW_PASSWORD or
ACTION_SET_NEW_PARENT_PROFILE_PASSWORD
- pageId: SET_NEW_PASSWORD_ACTIVITY
- key: calling app package name
- value: raw value of intent extra EXTRA_PASSWORD_COMPLEXITY, or
Integer.MIN_VALUE if it does not exist

Bug: 120840632
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/PasswordUtilsTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/SetNewPasswordActivityTest.java
Change-Id: I57dc55110f7f284ddad7d3fc971d1f2298b46cbd

5 years agoMerge "Add dialog for changing display name for mobile network"
TreeHugger Robot [Fri, 1 Feb 2019 04:58:45 +0000 (04:58 +0000)]
Merge "Add dialog for changing display name for mobile network"

5 years agoGame Driver: Fix EnableForAllApps switch and test
Yiwei Zhang [Fri, 1 Feb 2019 02:25:00 +0000 (18:25 -0800)]
Game Driver: Fix EnableForAllApps switch and test

Bug: 123707483
Bug: 119221883
Test: Build, flash, boot and make RunSettingsRoboTests
Change-Id: Iffbe3355b37763d4fa71b96271c1ba448fb6cdc5

5 years agoMerge "Updated arguments for AccessPoint.getSummary calls"
Quang Luong [Fri, 1 Feb 2019 03:43:56 +0000 (03:43 +0000)]
Merge "Updated arguments for AccessPoint.getSummary calls"

5 years agoMerge "Add current user handle to tile intent in account detail page."
TreeHugger Robot [Fri, 1 Feb 2019 02:31:10 +0000 (02:31 +0000)]
Merge "Add current user handle to tile intent in account detail page."

5 years agoAdd a metrics for avatar
Sunny Shao [Wed, 30 Jan 2019 08:06:41 +0000 (16:06 +0800)]
Add a metrics for avatar

Add a metrics log when user click search bar avatar

Change-Id: I389d469cc3fe335ee934d72d642251a6f4fd038b
Fixes: 123560980
Test: compilation

5 years agoMerge "Fix a NPE from incorrect assumption of operation pecedence."
TreeHugger Robot [Fri, 1 Feb 2019 02:19:35 +0000 (02:19 +0000)]
Merge "Fix a NPE from incorrect assumption of operation pecedence."