Commit Graph

50380 Commits

Author SHA1 Message Date
Julia Reynolds
12cec79889 Merge "More tests for silent status bar setting" 2019-02-01 20:37:41 +00:00
Fan Zhang
a52b227c58 Merge "Make a passthrough drawable for ic_settings_print." 2019-02-01 19:55:52 +00:00
Fan Zhang
015b8d5cfb Make a passthrough drawable for ic_settings_print.
Bug: 123711718
Test: visual
Change-Id: I6be16f501522167ea0af58c9eed1c491c3c4525d
2019-02-01 11:41:53 -08:00
TreeHugger Robot
1ee04cb7af Merge "Game Driver: Fix EnableForAllApps switch and test" 2019-02-01 19:14:03 +00:00
Lucas Dupin
ac80a235d3 Merge "Add dark theme keywords" 2019-02-01 18:48:44 +00:00
TreeHugger Robot
7f328536c3 Merge "Add a metrics for avatar" 2019-02-01 18:25:11 +00:00
TreeHugger Robot
f056459205 Merge "Flags instead of booleans for countPermissionApps" 2019-02-01 18:21:33 +00:00
TreeHugger Robot
6bcd0ec1fa Merge "Update call to use new method name." 2019-02-01 15:50:51 +00:00
Bernard Chau
00870bff0d 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
2019-02-01 13:03:40 +00:00
TreeHugger Robot
09c932b2b9 Merge "Add dialog for changing display name for mobile network" 2019-02-01 04:58:45 +00:00
Yiwei Zhang
ccc81a83cc Game Driver: Fix EnableForAllApps switch and test
Bug: 123707483
Bug: 119221883
Test: Build, flash, boot and make RunSettingsRoboTests
Change-Id: Iffbe3355b37763d4fa71b96271c1ba448fb6cdc5
2019-01-31 20:26:55 -08:00
Quang Luong
fd9cdb50c5 Merge "Updated arguments for AccessPoint.getSummary calls" 2019-02-01 03:43:56 +00:00
TreeHugger Robot
158fd441ff Merge "Add current user handle to tile intent in account detail page." 2019-02-01 02:31:10 +00:00
Sunny Shao
20aaf3d276 Add a metrics for avatar
Add a metrics log when user click search bar avatar

Change-Id: I389d469cc3fe335ee934d72d642251a6f4fd038b
Fixes: 123560980
Test: compilation
2019-02-01 10:26:59 +08:00
TreeHugger Robot
917ed5e70a Merge "Fix a NPE from incorrect assumption of operation pecedence." 2019-02-01 02:19:35 +00:00
TreeHugger Robot
374495a865 Merge "Remove unused dependency" 2019-02-01 01:25:19 +00:00
Lucas Dupin
862b8cb101 Add dark theme keywords
Test: make
Change-Id: I0a5bb5e42f419dd6baa80ae06822fb64f6a29cb0
Fixes: 123599254
2019-01-31 17:02:52 -08:00
Philip P. Moltmann
a9fb152309 Flags instead of booleans for countPermissionApps
Test: Checked that the api retunred the results
Bug: 123697839
Change-Id: Iadb1c4307933635e6114d3d32a2a2b1ed87949f4
2019-01-31 14:22:24 -08:00
Fan Zhang
b617f84b32 Fix a NPE from incorrect assumption of operation pecedence.
Change-Id: I13d01c39bd3afcfbc7b680b96e0c7eb341fbc584
Fixes: 123709444
Test: robotest
2019-01-31 13:59:50 -08:00
Fan Zhang
3979c23838 Merge "Ignore failing tests" 2019-01-31 21:14:08 +00:00
Fan Zhang
f508a57ab5 Ignore failing tests
Bug: 123707483
Test: robotest
Change-Id: Ie18ec3b25b905566e8a8afe90f3a7688cf1141f6
2019-01-31 13:12:56 -08:00
Quang Luong
cb0b08aac2 Updated arguments for AccessPoint.getSummary calls
Changed the arguments for getSummary to reflect the changes in
settingslib

Bug: 118705403
Test: none
Change-Id: I2bd02e608a900865ff90dd78463a164fca39c905
2019-01-31 13:03:08 -08:00
Antony Sargent
e13d04c762 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
2019-01-31 12:54:43 -08:00
Vishwath Mohan
8e268830f2 Merge "Allow multiple trust agents" 2019-01-31 20:21:40 +00:00
Vishwath Mohan
7d93d8bcdc 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
2019-01-31 20:19:32 +00:00
Doris Ling
3e586a5cf2 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
2019-01-31 11:19:30 -08:00
TreeHugger Robot
cf1bd41cc4 Merge "Remove dead code from settings" 2019-01-31 19:18:17 +00:00
TreeHugger Robot
3865c7d6c5 Merge "Connect to network while clicking open or saved networks on slice" 2019-01-31 19:14:05 +00:00
Alex Salo
962a7ec22d Remove unused dependency
Test: not needed
Bug: 111939367
Change-Id: Id6040240e6221fe6311b7985f3763c04989be7d2
2019-01-31 18:20:16 +00:00
Joel Galenson
6bf75d288d 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
2019-01-31 10:20:05 -08:00
Christine Franks
877a9a058b Merge "Use ColorDisplayManager for night display settings" 2019-01-31 17:45:45 +00:00
Joel Galenson
6ecec01e7b Update call to use new method name.
Test: See correct shadow behavior when scrolling app info.
Change-Id: Ib6452f5caa42600330b934c50c30a42f303710ae
2019-01-31 08:19:21 -08:00
Beverly
dbd48da49a Update proguard
Test: manual
Bug: 118388808
Bug: 123532083
Change-Id: Ie3140755817989f567b2ea0674ebe601062aae21
2019-01-31 14:40:59 +00:00
TreeHugger Robot
b73db4c988 Merge "Update title for the link to more special app access." 2019-01-31 12:34:59 +00:00
pastychang
39b02386f7 Remove TemplateLayout that is not for external use
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I170ea3be52827384d70a5608108561a8a9f70f50
2019-01-31 15:14:27 +08:00
TreeHugger Robot
83ef324e1d 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" 2019-01-31 06:18:30 +00:00
TreeHugger Robot
3aee53b7ce Merge "Consolidate wake-screen settings page" 2019-01-31 05:30:10 +00:00
Yi-Ling Chuang
1f595d9659 Increase timeout of contextual card pre-check.
- Also add logs for the binding time of each card.

Bug: 123043695
Test: robotest
Change-Id: Iba666f60bccb27658e43af992ce80be98e5ff7ea
2019-01-31 13:29:41 +08:00
TreeHugger Robot
7445ae0313 Merge "Change summary of "Privacy" in homepage" 2019-01-31 05:18:25 +00:00
Pengquan Meng
87904c3d11 Merge "Add enable/disable DSDS setting switch" 2019-01-31 03:51:49 +00:00
Tajinder Gadh
eb1aa063ed 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

Test: Build locally and validated
Change-Id: I6f79eea460e86d643d92c04e8ea126b99b9bed8b
2019-01-31 03:48:46 +00:00
tmfang
590e7e54c9 Change summary of "Privacy" in homepage
Test: visual
Change-Id: I79fd96f42cc6ed698d516bb80c14db098b80273a
Fixes: 123537345
2019-01-31 11:27:27 +08:00
Yanting Yang
2a736c6ed3 Merge "Deprecate EXCLUSIVE category from contextual_card_list.proto" 2019-01-31 02:56:41 +00:00
Soonil Nagarkar
139644bb0e Remove dead code from settings
Test: manually
Change-Id: I1ef0bb2a20c6c6f020dd051407dda2de87f174ea
2019-01-30 17:15:54 -08:00
Pengquan Meng
7f602c7f67 Add enable/disable DSDS setting switch
This add a switch settings in the Phone Information screen to allow the
user enable/disable the DSDS mode.

Bug: 123088078
Test: build & manual test
Change-Id: Ia3722fb26ce8825820ee96550a1d523da35c7a71
2019-01-30 16:42:02 -08:00
TreeHugger Robot
1566e71c73 Merge "Add feature flag check for mainline module version." 2019-01-31 00:38:07 +00:00
Hai Zhang
102e632e91 Update title for the link to more special app access.
This change updates the title for the link to more special app access
to be "See more".

Bug: 110557011
Bug: 123538149
Test: manual
Change-Id: I17c7aa347f4e584a28ca8f2de8b9f75ee5e3c1b4
2019-01-30 15:22:25 -08:00
Lucas Dupin
b55e5f1360 Consolidate wake-screen settings page
UX decided to have a single settings page instead of two

Test: manual
Bug: 111414690
Change-Id: I8e0eee3ea00b1eb9cbe534cc60bfccec43cf8e31
2019-01-30 15:06:14 -08:00
TreeHugger Robot
6b3db61e53 Merge "Use role for App info default phone shortcut." 2019-01-30 22:23:40 +00:00
Doris Ling
97866f0b50 Use correct uid when querying usage data for specific user.
- the data usage list shows usage data for each app, and also the
aggregated data for work apps and other user. When user clicks on the
app item, we will shows the detail usage data for that item using the
app item key. However, if the app item is not for app but for user, the
key will not be the app uid, but a key built from the user id. So,
querying using the key will not get any data.
- for app item corresponding for user, need to sum up all usage data
for the uids associated with the user.

Change-Id: I1a185ee6b4d59e477f3a03cade97d85d6982e416
Fixes: 122200400
Test: make RunSettingsRoboTests
2019-01-30 13:51:28 -08:00