Commit Graph

140296 Commits

Author SHA1 Message Date
Treehugger Robot
44914893da Merge "Tightens Accessibility Settings owners." into main am: 1c7a9269a1 am: 90d0111cfd
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3052422

Change-Id: I49233063956e05ad9738d15c72833fecca5c8349
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 20:06:15 +00:00
Treehugger Robot
90d0111cfd Merge "Tightens Accessibility Settings owners." into main am: 1c7a9269a1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3052422

Change-Id: I09ed68909389eb2fdc9f5f6d97f915a32fa9137b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 19:48:49 +00:00
Treehugger Robot
1c7a9269a1 Merge "Tightens Accessibility Settings owners." into main 2024-04-23 19:35:23 +00:00
Tetiana Meronyk
9e32702ded Add separate summary "Owner" for main user on the device
Bug: 298008926
Test: visual
Change-Id: I78ece410ab939a4727e44e371ae43779e96950e0
2024-04-23 17:38:49 +00:00
Manish Singh
9229860d60 Don't show uninstall for all users
when the only profiles that have the package are hidden in quiet mode

Fix: 334041279
Test: atest AppInfoSettingsMoreOptionsTest
Test: manual
Change-Id: Ic8e594eb1db5bed926783a244a24e24c4435f04e
2024-04-23 16:54:09 +00:00
YK Hung
7cfa402cf9 Merge "Remove redundant battery usage slot in database." into main 2024-04-23 16:13:50 +00:00
YK Hung
ed1789a0d3 Merge "Fix AppBatteryPreferenceTest flaky" into main 2024-04-23 16:13:06 +00:00
Edgar Wang
59cb0e1b30 Fix Settings Crash
TelephonyManager modify getAllowedCarriers api, cause Setting crash.
Add try catch to avoid the issue.

Bug: 335751239
Change-Id: I5777c92f8eaf44413f60002e746e9969b3bd9f0d
Test: manual test
2024-04-23 16:02:09 +00:00
Manish Singh
6f5b862544 Merge "Fix crash of starting private app info pages for LS" into main 2024-04-23 14:13:38 +00:00
Treehugger Robot
e18a63faab Merge "Update satellite icon to match with system UI's" into 24D1-dev am: bccfb85bc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27000770

Change-Id: If4416d054f0c066948ee4cdd14108a6a5c00626c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 13:39:24 +00:00
josephpv
f58acef107 Clear settings task on deleting private space
When private space is deleted from private space settings launched from
the All apps settings cog the settings sub activity is not cleared and
visibile in recents.
With this change it is taken care to remove and clear the sub settings
task hosting the Private space settings page when private space does not
exist and to make sure the activity is removed if it is the last
activity in that stack.

Bug: 333538964
Test: Manual
Change-Id: I22ba8ca8d2947c6604280cf398cd47434038d542
2024-04-23 13:30:15 +00:00
Treehugger Robot
bccfb85bc2 Merge "Update satellite icon to match with system UI's" into 24D1-dev 2024-04-23 13:25:44 +00:00
Anna Bauza
990b007f03 [automerger skipped] Merge "Integrating new Avatar Picker App in Settings" into main am: cb9cd3fa46 am: 469cc72050 -s ours
am skip reason: Merged-In Ie5831cec9ebb7a8d5cfabc93300ca2d6cadb944b with SHA-1 e6c9a08ab7 is already in history

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

Change-Id: I84c79e86231b5bd8142b5ad81d52f6b90ebf2da2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 12:35:13 +00:00
Anna Bauza
469cc72050 Merge "Integrating new Avatar Picker App in Settings" into main am: cb9cd3fa46
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3051323

Change-Id: I54107dc624b4787281e475e9e7abd469a581461c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 12:16:04 +00:00
josephpv
35661f7d65 Add line break strategy to remove header hyphenation
This change sets line break strategy and the max lines limit for the
private space setup choose lock screen header

Screenshot:
go/ss/8CFXUAUkKXAZiPM.png

Bug: 331538317
Test: Manual
Change-Id: I8c8bd8d130dc0d61d050d274ac0b734a6c5e3d21
2024-04-23 12:12:25 +00:00
Anna Bauza
cb9cd3fa46 Merge "Integrating new Avatar Picker App in Settings" into main 2024-04-23 12:10:34 +00:00
mxyyiyi
740f348265 Remove redundant battery usage slot in database.
Bug: 336423923
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: I1b2d172a42a20a8cc8dc734498e37ed92e4624dd
2024-04-23 18:59:24 +08:00
Elliot Sisteron
4fffb3ad64 Fix failure in BiometricsSafetySourceTest
Bug: 335886401
Change-Id: I07ce2a1f3b4938348c93208a35b1407960617917
Test: atest BiometricsSafetySourceTest
2024-04-23 10:57:47 +00:00
Hyunho Shin
ebc05f131d Merge "Add a try-catch statement to handle the runtime exception" into main 2024-04-23 10:51:29 +00:00
Manish Singh
82e6ad5098 Merge "PrivateSpaceAuthenticationActivity to support dual-pane mode" into main 2024-04-23 09:58:57 +00:00
Chaohui Wang
23c66d1278 Fix AppBatteryPreferenceTest flaky
Bug: 335887683
Test: unit test
Change-Id: I5a1753835d2d47712ea249081c9a77c455eb3291
2024-04-23 17:53:25 +08:00
Chaohui Wang
dae4c04b74 Get icon id from CellIdentity instead of CellInfo
Currently NetworkSelectSettings.forceUpdateConnectedPreferenceCategory()
only pass CellIdentity, but not the CellInfo.

Get icon id from CellIdentity to fix.

Fix: 336238346
Test: visual - on NetworkSelectSettings
Change-Id: Ia30a45eef9d55815c8a45629c86cf83a6a480868
2024-04-23 17:22:24 +08:00
Pechetty Sravani
dbb7d1772b Merge "Revert "Add FeatureProvider for SyncAcrossDevices Settings integ..."" into main 2024-04-23 09:12:48 +00:00
Chaohui Wang
174acf5c67 Merge "Remove existing list when force update network" into main 2024-04-23 09:02:25 +00:00
Edgar Wang
e15ae758cb Merge "Dynamic Injection into PreferenceCategory" into main 2024-04-23 09:00:02 +00:00
Treehugger Robot
9ff7efa50d Merge "Return when dialog is null" into main 2024-04-23 08:43:30 +00:00
Hyunho
fa2f6ebce4 Add a try-catch statement to handle the runtime exception
Bug: 335903173
Test: manual test
Change-Id: I657a907b01229473ad2ef21b1d843e5d7de74945
2024-04-23 08:13:01 +00:00
Pechetty Sravani
ea26f2d729 Revert "Add FeatureProvider for SyncAcrossDevices Settings integ..."
Revert submission 26930404-syncacrossdevices

Reason for revert: Potential culprit for b/336431732- 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:26930404-syncacrossdevices

Change-Id: I9da0de82978fa6984a4636e0c9ccc891d9287fd2
2024-04-23 07:43:47 +00:00
Edgar Wang
aec1d97788 Dynamic Injection into PreferenceCategory
- Avoid NPE when groupkey is null

Bug: 335592049
Change-Id: I810220d18e55351a280cff08b74b37130607168c
Test: robotest & manual
2024-04-23 07:41:11 +00:00
Jason Chiu
f9fabeae1c Fix crash of starting private app info pages for LS
Setting homapage just can be started using the primary profile.

Fix: 336449492
Test: manual
Change-Id: Ic5f496b0ff660af7a0eb7162490a1b036ed6ef61
2024-04-23 14:38:58 +08:00
Chaohui Wang
111e0bfb5a Return when dialog is null
Fix: 329035830
Test: presubmit
Change-Id: I908a051d68f3cb336a0715ca95b0d5fe687e814c
2024-04-23 14:34:47 +08:00
Jason Chiu
8375c61a46 PrivateSpaceAuthenticationActivity to support dual-pane mode
Test: visual
Fix: 334792208
Change-Id: Ibae659daa45e93ac3ac53fce4cbcdaed258ba6a3
2024-04-23 14:02:38 +08:00
Chaohui Wang
a339f019e2 Remove existing list when force update network
Otherwise it could including previous scan result when re-enter the
page.

Fix: 336244021
Test: manual test - on NetworkSelectSettings
Change-Id: I34b4820b116868b98649202c424d2168746232e8
2024-04-23 13:43:59 +08:00
Charlotte Lu
893e8d1f4b Merge "[WIFI-WEP] Add WEP dialog in System UI." into main 2024-04-23 05:28:37 +00:00
Yiling Chuang
1aa4bcf17d Clean up on the charging remaining time label for WLC.
Bug: 336204618
Test: robotests
Change-Id: Ic2c9d653f8bd9ec25383319766256162d81424c2
2024-04-23 03:36:06 +00:00
Yiling Chuang
ce51f659df Merge "Customize the remaining time label during wireless charging." into main 2024-04-23 02:40:06 +00:00
Paulz Chen
319245cdbe Merge "Add FeatureProvider for SyncAcrossDevices Settings integration." into main 2024-04-22 23:52:23 +00:00
Pawan Wagh
c1659eaeee Set 16K dev option as checked by default for 16KB page size
Page agnostic targets use 16KB pages by default. Set the developer
option for 16KB enabled when booted with 16KB page size.

Bug: 303280163
Bug: 295035851
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Change-Id: I01457ce3003ea884c7d1e47aca6b85aab341aa24
2024-04-22 22:22:03 +00:00
Bill Yi
311a675174 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: bf184534f5 -s ours
am skip reason: contains skip directive

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

Change-Id: I3b8b773ba071d509317c4521283fd19dced407a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 20:54:47 +00:00
Bill Yi
25e902e79c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-22 20:43:13 +00:00
Treehugger Robot
f11e2b4968 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 09bcd6cab8 -s ours
am skip reason: contains skip directive

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

Change-Id: Ideb1578014dd0ea4859f6eabe072583af77eea3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 17:39:58 +00:00
Bill Yi
bff4f35178 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e49cffe60f -s ours
am skip reason: contains skip directive

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

Change-Id: I08a8edb16963dbb0ae48b115dfdbffa05d058f9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 17:39:46 +00:00
Daniel Norman
5c32deeb16 Tightens Accessibility Settings owners.
Per discussion with leads, we'd like to ensure that Settings > Accessibility changes are seen
and approved by the Android Accessibility team. This change prevents default Settings owners
from accidentally approving changes without looping in a11y, while ensuring Settings lead cipson
has approval for emergency changes.

Change-Id: I914067a4d2616c212309b70fb29679f9acfa7643
2024-04-22 16:54:42 +00:00
Treehugger Robot
09bcd6cab8 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-22 16:51:12 +00:00
Yuri Lin
9dbd8ddffe Merge "Add info on whether the rule is active to ZenMode" into main 2024-04-22 16:20:38 +00:00
Yuri Lin
af82199317 Add info on whether the rule is active to ZenMode
modifying the corresponding methods on ZenModesBackend to collect that information from NotificationManager.

Bug: 327419222
Test: ZenModesBackendTest, ZenModeTest
Change-Id: I01cb0ffa21a7fecaa5128cec51ced3eff384f370
2024-04-22 10:57:32 -04:00
Elliot Sisteron
365c16b217 Reset SafetyCenterManagerWrapper instance between tests.
This is because some other tests may set a mock on this static value, which will persist across test cases (whereas in this test we want to test the real thing).

Bug: 335557039
Change-Id: I14fc81922761159241636c78dbd47fce7bfeb533
Test: atest SafetyCenterManagerWrapperTest
2024-04-22 14:49:57 +00:00
Jason Chang
0c61a9662c Fix Talkback announcement for SFPS enrollment issues
Remove the redundant "enrolled %" string when talkback announcement.

Bug: 324488176

Flag: NONE

Test: manually do SFPS enrolling then hearing the sounds to check.
Change-Id: I00d1f885bca2609cd954817943a1d4f5625a95b3
2024-04-22 13:38:30 +00:00
Anna Bauza
71361dafd3 Integrating new Avatar Picker App in Settings
Bug: 309426522
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e6c9a08ab7648d884c0d9c3fbbc7f8c74a016624)
Merged-In: Ie5831cec9ebb7a8d5cfabc93300ca2d6cadb944b
Change-Id: Ie5831cec9ebb7a8d5cfabc93300ca2d6cadb944b
2024-04-22 12:15:54 +00:00
Chaohui Wang
5ae84662b5 Check isConvertedPsimSubscription in new UI
Bug: 326896614
Test: manual test
Change-Id: I0d3c87a863f58a9e962fb87df5b8001be9edb767
2024-04-22 18:14:20 +08:00