OSDN Git Service

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

5 years agoMerge "Remove unused dependency"
TreeHugger Robot [Fri, 1 Feb 2019 01:25:19 +0000 (01:25 +0000)]
Merge "Remove unused dependency"

5 years agoAdd dark theme keywords
Lucas Dupin [Wed, 30 Jan 2019 06:08:25 +0000 (22:08 -0800)]
Add dark theme keywords

Test: make
Change-Id: I0a5bb5e42f419dd6baa80ae06822fb64f6a29cb0
Fixes: 123599254

5 years agoFlags instead of booleans for countPermissionApps
Philip P. Moltmann [Thu, 31 Jan 2019 22:22:24 +0000 (14:22 -0800)]
Flags instead of booleans for countPermissionApps

Test: Checked that the api retunred the results
Bug: 123697839
Change-Id: Iadb1c4307933635e6114d3d32a2a2b1ed87949f4

5 years agoFix a NPE from incorrect assumption of operation pecedence.
Fan Zhang [Thu, 31 Jan 2019 21:48:40 +0000 (13:48 -0800)]
Fix a NPE from incorrect assumption of operation pecedence.

Change-Id: I13d01c39bd3afcfbc7b680b96e0c7eb341fbc584
Fixes: 123709444
Test: robotest

5 years agoMerge "Ignore failing tests"
Fan Zhang [Thu, 31 Jan 2019 21:14:08 +0000 (21:14 +0000)]
Merge "Ignore failing tests"

5 years agoIgnore failing tests
Fan Zhang [Thu, 31 Jan 2019 21:12:56 +0000 (13:12 -0800)]
Ignore failing tests

Bug: 123707483
Test: robotest
Change-Id: Ie18ec3b25b905566e8a8afe90f3a7688cf1141f6

5 years agoUpdated arguments for AccessPoint.getSummary calls
Quang Luong [Wed, 30 Jan 2019 22:04:47 +0000 (14:04 -0800)]
Updated arguments for AccessPoint.getSummary calls

Changed the arguments for getSummary to reflect the changes in
settingslib

Bug: 118705403
Test: none
Change-Id: I2bd02e608a900865ff90dd78463a164fca39c905

5 years agoAdd dialog for changing display name for mobile network
Antony Sargent [Wed, 30 Jan 2019 00:54:03 +0000 (16:54 -0800)]
Add dialog for changing display name for mobile network

This CL adds a pencil/edit icon at the top of the mobile network details
page. When clicked, it brings up a dialog that allows the user to set
the display name used for that mobile network - this is most useful in
multi-SIM situations. This dialog also displays the mobile network
operator name and phone number which can help the user keep straight
which one they are renaming.

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

5 years agoMerge "Allow multiple trust agents"
Vishwath Mohan [Thu, 31 Jan 2019 20:21:40 +0000 (20:21 +0000)]
Merge "Allow multiple trust agents"

5 years agoAllow multiple trust agents
Vishwath Mohan [Tue, 29 Jan 2019 16:26:40 +0000 (08:26 -0800)]
Allow multiple trust agents

This CL is essentially a one-line change that sets the
ONLY_ONE_TRUST_AGENT boolean to false.

Bug: 111431046
Test: Tested manually that this works correctly

Change-Id: Ia8f06235467e3223ef1e441a62d941a64a2d7c93

5 years agoAdd current user handle to tile intent in account detail page.
Doris Ling [Mon, 28 Jan 2019 21:37:31 +0000 (13:37 -0800)]
Add current user handle to tile intent in account detail page.

- the account detail settings page is launched with the correct user
handle when there is work profile to indicate which profile the account
belongs to. When we process the dynamic tile, for the page, we should
add this info to the tile intent, so that it can be launched with the
correct profile.
- when we launch the tile intent, check whether there's user handle
specified. If so, launch the intent directly without prompting for
profile selection.

Change-Id: I91f8c666a826909006b1f53907b3441825322c10
Fixes: 119657694
Test: make RunSettingsRoboTests

5 years agoMerge "Remove dead code from settings"
TreeHugger Robot [Thu, 31 Jan 2019 19:18:17 +0000 (19:18 +0000)]
Merge "Remove dead code from settings"

5 years agoMerge "Connect to network while clicking open or saved networks on slice"
TreeHugger Robot [Thu, 31 Jan 2019 19:14:05 +0000 (19:14 +0000)]
Merge "Connect to network while clicking open or saved networks on slice"

5 years agoRemove unused dependency
Alex Salo [Thu, 31 Jan 2019 01:58:47 +0000 (17:58 -0800)]
Remove unused dependency

Test: not needed
Bug: 111939367
Change-Id: Id6040240e6221fe6311b7985f3763c04989be7d2

5 years agoCheck a flag to see whether or not to show permission usage information.
Joel Galenson [Thu, 24 Jan 2019 16:14:09 +0000 (08:14 -0800)]
Check a flag to see whether or not to show permission usage information.

Bug: 122615235
Test: Manually set/unset flag, see/don't see usage information.
Change-Id: I2d743fc28c5676a2304dac73ae96734241f3fe1d

5 years agoMerge "Use ColorDisplayManager for night display settings"
Christine Franks [Thu, 31 Jan 2019 17:45:45 +0000 (17:45 +0000)]
Merge "Use ColorDisplayManager for night display settings"

5 years agoUpdate call to use new method name.
Joel Galenson [Thu, 31 Jan 2019 16:19:21 +0000 (08:19 -0800)]
Update call to use new method name.

Test: See correct shadow behavior when scrolling app info.
Change-Id: Ib6452f5caa42600330b934c50c30a42f303710ae

5 years agoUpdate proguard
Beverly [Mon, 28 Jan 2019 21:48:06 +0000 (16:48 -0500)]
Update proguard

Test: manual
Bug: 118388808
Bug: 123532083
Change-Id: Ie3140755817989f567b2ea0674ebe601062aae21

5 years agoMerge "Update title for the link to more special app access."
TreeHugger Robot [Thu, 31 Jan 2019 12:34:59 +0000 (12:34 +0000)]
Merge "Update title for the link to more special app access."

5 years agoMerge "If the ramping ringer adaptive volume is enabled then do not show this setting...
TreeHugger Robot [Thu, 31 Jan 2019 06:18:30 +0000 (06:18 +0000)]
Merge "If the ramping ringer adaptive volume is enabled then do not show this setting. It will be injected from settings intelligence with additional user options"