Commit Graph

140347 Commits

Author SHA1 Message Date
Chris Antol
afade2c4c2 [automerger skipped] Fix NPE in AudioSwitchPreferenceController am: f5cc663a8a -s ours
am skip reason: Merged-In Ic97d1a6269a6d98ffd15a9b512f6ae24ff1c5b5e with SHA-1 7ac80f0a0a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27342577

Change-Id: I3e6a143158acf9708cb29de92d1bcd2e4706c251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 16:39:20 +00:00
Aurélien Pomini
5c8d8a295b Merge "Remove old contrastDialog from dev options" into main 2024-05-17 16:10:36 +00:00
ELIYAZ MOMIN
67c0cd96d9 Revert "Migrate AppOps" am: 19b01bd68b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27382787

Change-Id: Iaa26113d70e2ee8792aa75bc625b2c68bc50f81d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 14:52:17 +00:00
ELIYAZ MOMIN
19b01bd68b Revert "Migrate AppOps"
Revert submission 27392016-cherrypick-AppOpsController-AppOps-w48m53c1or

Reason for revert: <Potential culprit for b/341210811- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Reverted changes: /q/submissionid:27392016-cherrypick-AppOpsController-AppOps-w48m53c1or

Change-Id: Ib9813a48170f4ef38de9eee811c677ad75f5401e
2024-05-17 10:48:57 +00:00
Yiyi Shen
66b69fbbb8 Merge "[Audiosharing] Migrate feature from overlay to Settings" into main 2024-05-17 09:30:14 +00:00
Xinyi Mao
4f1920f215 Merge "Update view alpha to improve text color constract in Battery usage" into main 2024-05-17 08:39:08 +00:00
Manish Singh
29cd25e8a8 Merge "Apply the AlertDialog theme" into main 2024-05-17 08:08:44 +00:00
mxyyiyi
0903173391 Update view alpha to improve text color constract in Battery usage
- Update alpha of dark theme from 0.5 to 0.65

[Before] https://screenshot.googleplex.com/3UZicUb7iQa7ovh
A11y Scanner result: https://screenshot.googleplex.com/36wWZDoyJwRy4AK

[After] https://screenshot.googleplex.com/6LRyQMhw2xX6RKk
A11y Scanner result: https://screenshot.googleplex.com/4tWu4RW7VPdJUCP

Bug: 317139415
Bug: 265364351
Test: Accessibility Scanner
Change-Id: I5c1c5c321301da7b148b911a9687a258cc15c87d
2024-05-17 15:24:40 +08:00
Hakjun Choi
f0d2581cd3 Merge "Add activity expose condition for Satellite messaging activity" into main 2024-05-17 07:16:23 +00:00
Chaohui Wang
d005d01a12 Merge "Fix CellInfoUtilTest" into main 2024-05-17 07:06:03 +00:00
Chaohui Wang
d5d70536e8 Migrate AppOps am: 4573df2aaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27378716

Change-Id: I2f099b8dd3c205f1eb467b3fc3d03a19cc978b74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 06:31:51 +00:00
Edgar Wang
b9653deead Merge "Update HomepagePreference layout" into main 2024-05-17 06:08:11 +00:00
Treehugger Robot
ae230aa12c Merge "Fixed issue with pattern not appearing disabled." into main 2024-05-17 04:38:45 +00:00
Chaohui Wang
6f01512762 Fix CellInfoUtilTest
Fix: 337417936
Fix: 337417222
Test: unit test
Change-Id: I47dfa05fd4839885ad7f2115a279a7b4675e85fc
2024-05-17 12:29:58 +08:00
Chaohui Wang
4573df2aaf Migrate AppOps
Bug: 339846642
Test: manual - on Special app access
Change-Id: I988bdf85036478d8e6d87a3b5a1a46a35df38422
2024-05-17 02:57:31 +00:00
Edgar Wang
82f3ecab26 Merge "Fix SettingsHomepageActivityTest failed" into main 2024-05-17 02:31:28 +00:00
Chaohui Wang
201ca1e202 Merge "Create VoNrRepository" into main 2024-05-17 02:21:31 +00:00
Joshua McCloskey
ee5ddeda6f Fixed issue with pattern not appearing disabled.
Test: Verified that the pattern option now appears disabled when
setting up COPE profile
Fixes 288081292

Change-Id: I43992dc4518a47a41e58e7b9cfd47fb22542e749
2024-05-16 19:13:24 +00:00
Manish Singh
a270176634 Apply the AlertDialog theme
so that the correct colors are applied when the system contrast is
changed.

Bug: 335712994
Test: manual
Change-Id: I2f6ba3360fc4935db302e8d89f4df8d200a43a29
2024-05-16 18:26:34 +00:00
Isaac Chai
504ac0cf2a Merge "Color correction saturation level settings" into main 2024-05-16 17:27:26 +00:00
Hakjun Choi
2bc6d77cbf Add activity expose condition for Satellite messaging activity
In case carrier_enabled_satellite_flag or KEY_SATELLITE_ATTACH_SUPPORTED_BOOL is not supported, activity invocation intent will be ignored.
Because the guidance description of the activity cause misunderstanding to users when the satellite feature is not set properly.

Bug: 338377564
Test: manual test adb shell am start -a "android.settings.SATELLITE_SETTING" --ei sub_id (test sub id) for each key's enable/disable combination for KEY_SATELLITE_ATTACH_SUPPORTED_BOOL and carrier_enabled_satellite_flag
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:308ced3fc8e69378611ce333ed5f0e8337ff91fe)
Change-Id: Ib5401f433f802e7aa74cc175179776deb576edfc
2024-05-16 15:32:30 +00:00
Edgar Wang
f78febfa69 Fix SettingsHomepageActivityTest failed
Change-Id: I58a9e0820cc7ee55d8360ed8511ad5d9a4786830
Fixes: 341046261
Test: robotest
2024-05-16 13:36:36 +00:00
Aurélien Pomini
22119f516a Remove old contrastDialog from dev options
Flag: NA
Bug: 333905689
Test: treehugger, manual

Change-Id: I400ab2b14cf8589be97123f3bcf3b26c98009d07
2024-05-16 13:15:23 +00:00
Edgar Wang
74c81d8542 Update HomepagePreference layout
Bug: 340795546
Test: visual
Change-Id: I95373877721ebae152f5df1aff97a7b0581a88e9
2024-05-16 11:49:50 +00:00
Zoey Chen
91f3c78102 Merge "Revert "[ToA] Do not use spy context"" into main 2024-05-16 10:43:39 +00:00
Chaohui Wang
3e8e8ff87e Create VoNrRepository
Migrate to flow and not call setVoNrEnabled in main thread.

Fix: 339846642
Fix: 339542743
Test: manual - on Mobile Settings
Test: unit test
Change-Id: I27fe7cb2ddadc9a0aaa8c589af4703210b33612d
2024-05-16 14:50:16 +08:00
SongFerng Wang
c479a3084b Merge "Show sim onboarding for user when insert psim" into main 2024-05-16 06:22:52 +00:00
Xinyi Mao
31c58bc6db Merge "Disable Touch & Hold action of the spinner in battery usage page." into main 2024-05-16 06:01:45 +00:00
Yiyi Shen
e5bd60a0cf [Audiosharing] Migrate feature from overlay to Settings
Bug: 340379827
Test: atest
Change-Id: I3a88ac1d2f575f3be1f26f617479bbfd25cf6a8e
2024-05-16 05:05:41 +00:00
mxyyiyi
81c42fa72d Disable Touch & Hold action of the spinner in battery usage page.
Bug: 317149732
Test: Manual
Change-Id: I852ec6ecbf2063d95b511e4f0f52ce591d05fda6
2024-05-16 12:14:55 +08:00
Zoey Chen
84263096be Revert "[ToA] Do not use spy context"
This reverts commit 2fe1e08b43.

Reason for revert: fail

Change-Id: I182b5a0a34800e3e3ad2e80f4b931233f201c51d
2024-05-16 01:41:33 +00:00
Bill Lin
a719e78a4c Merge "Remove redundant marginStart for FaceSettings button" into 24D1-dev am: 6a2de37817
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27354016

Change-Id: I6cd232b72f14d155708170b430389ff198d71fc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 01:37:04 +00:00
Bill Lin
6a2de37817 Merge "Remove redundant marginStart for FaceSettings button" into 24D1-dev 2024-05-16 01:20:29 +00:00
Edgar Wang
4d491bcd30 Merge "Fix SettingsHomepageActivityTest failed" into main 2024-05-16 01:00:19 +00:00
Guangjie (Jerry) Shi
629fd6c680 Merge "Properly handle the autofill provider names, making sure place holder name is properly filtered out." into main 2024-05-16 00:11:40 +00:00
Jay Sullivan
2d7380eee7 Merge "Revert "UX updates in Settings for unrestricting permissions."" into main 2024-05-16 00:03:10 +00:00
Yuri Lin
3072209e7d Merge "Redirect to new modes page when modes_ui is on." into main 2024-05-15 21:14:45 +00:00
Pawan Wagh
c1c2853ca7 Merge "Turn off voice access in 16KB mode" into main 2024-05-15 20:59:35 +00:00
Isaac Chai
4bf537a815 Color correction saturation level settings
Adding settings UI for color saturation level change, guarded by feature
flag.

Test: Locally tested + unit tests added
Bug: 322829049
Flag: com.android.server.accessibility.enable_color_correction_saturation

Change-Id: Ifa816647b16534ab6da770584d3de0628734aed5
2024-05-15 20:58:44 +00:00
David Anderson
cfc8c70ab4 Merge "Add Device Diagnostics to Settings." into main 2024-05-15 20:58:32 +00:00
Yuri Lin
eff863e5a3 Redirect to new modes page when modes_ui is on.
The new modes page has essentially no content yet, but this is a rough proof of concept for the existing abstract classes and hopefully serves as a building block for future changes. It lists modes and those preferences lead to contentless pages that will be fleshed out later..

Flag: android.app.modes_ui
Bug: 327260745
Test: ZenModePreferenceControllerTest
Test: manual; individual pages only have skeleton functionality and should be unit tested in future CLs
Change-Id: I12f48b48f761e3c9ff1a173445b15f7536d34edb
2024-05-15 14:00:25 -04:00
Jay Sullivan
668fef47cd Revert "UX updates in Settings for unrestricting permissions."
This reverts commit ff6c0b3fcb.

Reason for revert: b/340458649

Change-Id: I9fd32f11a9650431ed56c10434e82a766f74f400
2024-05-15 17:57:07 +00:00
Zoey Chen
a0af333e37 Merge "[ToA] Do not use spy context" into main 2024-05-15 17:28:03 +00:00
Jigar Thakkar
c1e5095b8f Merge "Rename settings option for autolocking on inactivity" into main 2024-05-15 17:12:05 +00:00
Jerry Shi
07b7679319 Properly handle the autofill provider names, making sure place holder
name is properly filtered out.

Bug: 337040395
Test: locally built and tested
Change-Id: I081064c6103f79fe966a36d0eea854ee9893bce3
2024-05-15 10:11:29 -07:00
Tetiana Meronyk
b06a4f74a1 Merge "Make Multiuser toggle disabled for all non-main users" into main 2024-05-15 15:52:58 +00:00
Treehugger Robot
302bd5750a Merge "Update battery settings page loading text" into 24D1-dev am: 47ce042cf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27358859

Change-Id: I3d4acd7fcf4fc9bbe2066fd3e2d0880565aa1cfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-15 15:22:28 +00:00
Treehugger Robot
47ce042cf3 Merge "Update battery settings page loading text" into 24D1-dev 2024-05-15 15:09:26 +00:00
Zoey Chen
2fe1e08b43 [ToA] Do not use spy context
Test: atest TermsOfAddressFeminineControllerTest
Test: atest TermsOfAddressNeutralControllerTest
Test: atest TermsOfAddressNotSpecifiedControllerTest
Test: atest TermsOfAddressMasculineControllerTest
Bug: 339543490
Change-Id: I28c37db07b34b9da225f9d358159bc9064046b68
2024-05-15 14:47:34 +00:00
Jigar Thakkar
72089c3289 Rename settings option for autolocking on inactivity
Bug:328016823
Test: atest AutoLockPreferenceControllerTest
Flag: ACONFIG android.multiuser.support_autolock_for_private_space NEXT

Change-Id: Id4537efe5ac56df0fc98cef3ce6673a0673e0fba
2024-05-15 14:03:15 +00:00