Commit Graph

49733 Commits

Author SHA1 Message Date
TreeHugger Robot
566b2b8a1b Merge "Close slice cursor when done using." 2019-02-05 22:57:45 +00:00
Edward Savage-Jones
5042c9b41b 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
2019-02-05 14:26:28 -08:00
TreeHugger Robot
9ffe6f2d7e Merge "Use correct uid when querying usage data for specific user." 2019-02-05 22:11:04 +00:00
Stanley Tng
f084b86405 Merge "Update the Hearing Aids Strings" am: 3afa2a7acb am: f8ba53c6fb
am: fdd54f74ed

Change-Id: I3b33647aac8fa8fe1757825a3f9d43fccc9efa35
2019-02-05 13:32:47 -08:00
Stanley Tng
fdd54f74ed Merge "Update the Hearing Aids Strings" am: 3afa2a7acb
am: f8ba53c6fb

Change-Id: I5d6a76265ccb0a7263bb689fa8a3ef4a0044e77a
2019-02-05 13:16:09 -08:00
Stanley Tng
f8ba53c6fb Merge "Update the Hearing Aids Strings"
am: 3afa2a7acb

Change-Id: I5310642f04558d961aa82df933791b08d883d92e
2019-02-05 13:05:41 -08:00
Fan Zhang
b7f5bcb238 Close slice cursor when done using.
Change-Id: I22f2d5fe990fb43e1694879f27d7c0be26675d2b
Fixes: 123878106
Test: manual
2019-02-05 12:53:41 -08:00
Antony Sargent
f6d3ac2893 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
2019-02-05 12:28:57 -08:00
Vishwath Mohan
9ba7136334 Merge "Move trust agent toggles to developer options" 2019-02-05 20:28:31 +00:00
Treehugger Robot
3afa2a7acb Merge "Update the Hearing Aids Strings" 2019-02-05 20:20:51 +00:00
Amin Shaikh
3304bec980 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
2019-02-05 15:18:52 -05:00
Christine Franks
0fd4d8ec92 Use ColorDisplayManager for night display settings
Bug: 123352608
Test: make ROBOTEST_FILTER="(Night*)" RunSettingsRoboTests -j48
Change-Id: Id7f00d7beec737ac9872b85df251ce6e1f76cd55
2019-02-05 17:40:48 +00:00
Stanislav Zholnin
4c49ae1f7f Merge "Add READ_DEVICE_CONFIG permission to allow use of DeviceConfig API when permission checks will be introduced." 2019-02-05 17:07:04 +00:00
TreeHugger Robot
b7c75339bf Merge "Update char limit on prevent ringing titles" 2019-02-05 16:50:14 +00:00
TreeHugger Robot
caecbc30fa Merge "Show permission group icons in dark mode." 2019-02-05 15:23:50 +00:00
TreeHugger Robot
ac72afc12a Merge "Check a flag to see whether or not to show permission usage information." 2019-02-05 15:23:13 +00:00
Beverly
daffbb8e14 Update char limit on prevent ringing titles
Test: manual
Bug: 123025152
Change-Id: Icc0c413d94bae1439a1ac7f1b79b1d8e5a4f0efd
2019-02-05 10:10:05 -05:00
Vishwath Mohan
8f53ad0f37 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
2019-02-04 17:22:49 -08:00
Julia Reynolds
0c45775a5d Add settings for notification bubbling
Globally, as well as at the app and channel level

Test: atest
Bug: 123543052
Change-Id: I1668b592c5d175d77d6a38f35e7576d641175d44
2019-02-04 18:08:41 -05:00
Amin Shaikh
e2815e033d Remove duplicate ic_menu_add_white.
Bug: 123829919
Test: mp settingsg
Change-Id: I88e0dde22762eb6bc019361222ffe783b1c15133
2019-02-04 17:59:29 -05:00
Joel Galenson
e59a5102ab 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.
2019-02-04 10:09:03 -08:00
Stanislav Zholnin
646dda9b2c 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
2019-02-04 09:53:37 +00:00
Stanley Tng
d6f1b59c93 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
2019-02-02 17:56:19 +00:00
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