Commit Graph

141628 Commits

Author SHA1 Message Date
Bill Yi
e8cf44d14f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 011090ca1f -s ours
am skip reason: contains skip directive

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

Change-Id: Iacb4466cc760052c4375ef87683a94187c07a278
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 17:55:55 +00:00
Bill Yi
35f5d3be9b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-12 17:43:48 +00:00
Bill Yi
d493585c08 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-12 17:43:48 +00:00
Treehugger Robot
1c971090d4 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-12 17:35:46 +00:00
Treehugger Robot
4f6b7272e1 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-12 17:35:46 +00:00
Matías Hernández
37bdf39ad6 Follow-up improvements to zen mode icon picker
* Propose icons from com.android.internal.R instead of android.R (as a proof of concept) since this is what we'll be doing with the final icons.
* Provide the icon options as a parameter to the controller (can also be used for testing).
* Fix some Lint warnings.

Test: atest ZenModeIconPickerListPreferenceControllerTest
Bug: 333901673
Flag: android.app.modes_ui
Change-Id: I023eed0fd5719c5c4540f8d145335f60d088e7fb
2024-06-12 19:33:12 +02:00
Chaohui Wang
58f2d17ccb Temporarily ignore 2 ApnEdit tests
To unblock androidx drop.

Bug: 342374681
Change-Id: I61c66521769ef671d3590cae153322e77aa3309b
Test: presubmit
2024-06-12 16:37:19 +00:00
YK Hung
5a52e7068c Merge "Help talkback to read the hyphen of time frame '{day}{time}-{time}' in PreferenceCategory Title." into main 2024-06-12 16:20:11 +00:00
Olivier Nshimiye
38a08fe98d Remove settings tasks on private space deletion
Bug: 342074934
Test: atest PrivateSpaceMaintainerTest
Test: Manual on device

Change-Id: Ic0555583ae0d7ea5650d819f1fccbd022b1d64c2
2024-06-12 15:40:43 +00:00
Julia Reynolds
71698935f3 Support device effects for manual mode
Test: ZenModesBackendTest
Flag: android.app.modes_ui
Fixes: 333530553
Change-Id: I31c484b73d1dfe0f986fe3c344f3a9a1d8580172
2024-06-12 15:19:42 +00:00
Treehugger Robot
076b7ee22a Merge "Update Settings Page for Avalanche Suppression/Adaptive Notifications" into main 2024-06-12 14:09:51 +00:00
Yining Liu
ef5e760f7e Update Settings Page for Avalanche
Suppression/Adaptive Notifications

Update the Settings Page for the Avalanche
visual and auditory Suppression - now called adaptive notifications.

Bug: 270456865
Fixes: 346528029
Fixes: 345722296
Test: PoliteNotificationPreferenceControllerTest
Flag: com.android.server.notification.polite_notifications
Change-Id: I97fcda4b8a8795ed05044e325cf038ea31f99ae9
2024-06-12 13:14:50 +00:00
Treehugger Robot
84fccf465e Merge "Increase char limit on pointer fill strings for i18n" into main 2024-06-12 10:54:40 +00:00
Matías Hernández
5527df1330 Merge "Re-enable notifications modes tests in SettingsRoboTests" into main 2024-06-12 10:10:50 +00:00
Pat Manning
72a2801b24 Increase char limit on pointer fill strings for i18n
Fix: 346722468
Test: Manual
Flag: com.android.systemui.enable_vector_cursor_a11y_settings
Change-Id: I4c044905a6d0e72404acfa6cdf1bd53d8537a8b6
2024-06-12 10:06:51 +00:00
josephpv
44131dbc24 Add accessibility delegate and populate itemCount
Change made to fix accessibility issue for talkback to announce correct
number in the list numbers as suggeste in b/333672369#comment4

Bug: 333672369
Test: Manual
Change-Id: I7f4ed0b39a40040c1185809e0b348d12e1eabf29
2024-06-12 09:25:09 +00:00
mxyyiyi
d047b6da10 Help talkback to read the hyphen of time frame '{day}{time}-{time}' in PreferenceCategory Title.
Bug: 346707823
Test: atest + manual
Change-Id: I3098ccaffd6396fb1f00e3b57c326980250651f2
2024-06-12 17:09:04 +08:00
Angela Wang
7b46a822ee Merge "Fix incorrect summary for LE audio hearing aids" into main 2024-06-12 08:11:29 +00:00
chelseahao
a3b1638c4b [Audiosharing] Add logging 2.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: I50fc57427aa135a13566c4627ba193aed9d73e0d
2024-06-12 08:04:17 +00:00
chelseahao
f017332c91 [Audiosharing] Add logging 1.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: I2513824826b9d7dd6240728179ea004f33b4fbe3
2024-06-12 08:04:17 +00:00
Chaohui Wang
2717f70ac0 InternetPreferenceController V2 (3/n)
Add DataSubscriptionRepository, when cellular connection,
show the active subscription name.

Bug: 339884322
Flag: com.android.settings.flags.internet_preference_controller_v2
Test: manual - on Internet
Test: unit test
Change-Id: If2a3e7f8df1b1ed89bc760ec5165182b3e9b64a8
2024-06-12 15:33:38 +08:00
Rambo Wang
7ae5aaa69d Merge "eSIM profile is not erased during Reset mobile network settings flow" into main 2024-06-12 04:26:33 +00:00
Pawan Wagh
9cae01952c Merge "Move Enable16KbTest to device-tests" into main am: df6affdc3d am: cb7bd9dd74
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3123771

Change-Id: I0b8b4d75fac6ecd0801f8e607c1c5535e2c25a41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 01:42:10 +00:00
Pawan Wagh
cb7bd9dd74 Merge "Move Enable16KbTest to device-tests" into main am: df6affdc3d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3123771

Change-Id: If518bbb88342ae4c2e5e9f131727de58446be780
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 01:27:02 +00:00
Lynn Yeh
5e522a50d4 [automerger skipped] Merge "Stop network scan before manual select network" into 24D1-dev am: 2aca51eebf -s ours
am skip reason: Merged-In Ia7e52ad94d5406cab42bd8e7b25ba7e4e13c67fc with SHA-1 39dfb52c6f is already in history

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

Change-Id: Iee7266db2785e7106e853fbdfc576f936d996a3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 01:23:09 +00:00
Chaohui Wang
b0890a52a1 [automerger skipped] Stop network scan before manual select network am: c1b61edbb2 -s ours
am skip reason: Merged-In Ia7e52ad94d5406cab42bd8e7b25ba7e4e13c67fc with SHA-1 39dfb52c6f is already in history

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

Change-Id: I24705d1b82c6099830b48102b7962ecb6c287367
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 01:23:03 +00:00
Pawan Wagh
df6affdc3d Merge "Move Enable16KbTest to device-tests" into main 2024-06-12 01:10:40 +00:00
Lynn Yeh
2aca51eebf Merge "Stop network scan before manual select network" into 24D1-dev 2024-06-12 01:00:10 +00:00
Bill Yi
80d8ecdfcd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic4ba389241b5ff20023b9ffcd94fed040df3e4fa
2024-06-11 16:42:59 -07:00
Bill Yi
22d3b4ad56 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I88aaaf216477233a8daba89b1bfbf100dd96ff39
2024-06-11 16:42:07 -07:00
Bill Yi
011090ca1f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d866e1f94c129455348a75c2b22797958c99b17
2024-06-11 16:39:52 -07:00
Bill Yi
6fbfd840d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iadc1f19fdc218275b9886e94e28a12bcc46568d2
2024-06-11 16:38:03 -07:00
Bill Yi
f01466fb40 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If553c6c012ea240d79da980f0981f2b44ff0cf66
2024-06-11 16:34:25 -07:00
James Willcox
0569121109 Add @RequiresPermission to ACTION_PREPARE_FACTORY_RESET
Also make it public. This should allow it to be detected appropriately
by the GMSCore permission registry machinery.

Bug; 346611867
Test: builds

Change-Id: I15aa99541f33124ab6aea284889351d86753fa56
2024-06-11 20:58:29 +00:00
Chris Antol
1b8c0fdfdb Annotate Nullability for DevSettings fragment usage
Bug: 319310316
Change-Id: I4f2d219b818971e222346fc630c358b1d8b84ae9
Test: None
2024-06-11 19:45:38 +00:00
Rambo Wang
98920c3714 eSIM profile is not erased during Reset mobile network settings flow
The CL fixes the bug that eSIM profile is not erased even if user
choose to erase eSIM during Reset Mobile Network Settings flow.

The issue was introduced when adding background operations to
restart Phone process and RILD. Restart Phone process performed earlier.
It may interrup the previous reset operations (e.g. eSIM erasing).

The fix here is to arrange reset Phone and RILD in the end of the flow,
only performed after all other reset operations.

Bug: 345854350
Test: atest ResetNetworkOperationBuilderTest
Test: Manual regression test
Change-Id: If2bd492d417a07a7056bf9fd0d051f8811ba6369
2024-06-11 18:18:15 +00:00
Treehugger Robot
9692e940ec Merge "Disable mRemoveUserPreference when mGuestUserAutoCreated only for guest." into main 2024-06-11 18:14:43 +00:00
Matías Hernández
f13c16399e Re-enable notifications modes tests in SettingsRoboTests
Fixes: 346276716
Test: atest com.android.settings.notification.modes
Flag: NONE
Change-Id: I573fe1b719a348d996eda39633811ad0bc34c847
2024-06-11 16:37:19 +00:00
Tetiana Meronyk
bac3e20cce Disable mRemoveUserPreference when mGuestUserAutoCreated only for guest.
Before this change, Delete action was disabled for all uninitialized secondary users.

Bug: 341840847
Test: atest UserDetailsSettingsTest
Change-Id: Icd43836f577dd061d267f6fb75658c35a0c47589
2024-06-11 16:25:06 +00:00
YK Hung
1fe85991e8 Disable explicit gc method invocation in V
Disable the gc() method explicit invocation due to the new policy in the
android to avoid android.os.strictmode.ExplicitGcViolation

Test: presubmit
Fix: 345577704
Flag: EXEMPT strictmode fix
Change-Id: I6ec7dac6735499c40a7ab6d135108e4c5013a4a4
2024-06-11 15:00:26 +00:00
Joseph Vincent
98a5dbfb42 Merge "Fix for settings crash during PS setup" into main 2024-06-11 10:59:22 +00:00
Ze Li
44de7e98d3 Merge "[ConnectedDevicePage] Make bonded bluetooth devices can be found by Settings search" into main 2024-06-11 10:50:04 +00:00
Yiyi Shen
996e12b34d Merge "[Audiosharing] Increase test coverage for audio sharing" into main 2024-06-11 09:32:10 +00:00
Yiyi Shen
7f55253fb2 Merge "[Audiosharing] Log action in audio sharing dialogs" into main 2024-06-11 08:51:57 +00:00
Ze Li
caa3a4b9fd [ConnectedDevicePage] Make bonded bluetooth devices can be found by Settings search
Bonded bluetooth devices can be found by Settings search using device name and jump to connected device page.

Test: atest ConnectedDeviceGroupControllerTest
Bug: 319056077
Change-Id: I738d7bd400e41647666966e6b39cd7bff01fc551
Flag: com.android.settings.flags.Flags.enableBondedBluetoothDeviceSearchable
2024-06-11 16:44:01 +08:00
Yiyi Shen
643d6c66c1 [Audiosharing] Increase test coverage for audio sharing
Bug: 345686602
Test: atest
Change-Id: Ib75a0127921d7ac6e7e0bbc82258ac0a21be90a2
2024-06-11 15:51:07 +08:00
Chaohui Wang
3f6cbec0b6 Merge "Fix preferred apn not selected when back from edit" into main 2024-06-11 07:39:01 +00:00
Chelsea Hao
3bc2adffab Merge "[Audiosharing] Start creating view after service is connected in confirm dialog activity." into main 2024-06-11 07:27:34 +00:00
Chaohui Wang
86f4ed16f3 Fix preferred apn not selected when back from edit
When back from edit page, preferred apn and apn list will both refresh,
if apn list refresh happens later, it will clear the preferred apn.

Saved the latest preferred apn into mPreferredApnKey to fix.

Bug: 257316932
Test: manual
Change-Id: I62f9cbd5847b7edb834c815cdecc089e0764a8c7
2024-06-11 14:01:03 +08:00
Yiyi Shen
7f2090d395 Merge "[Audiosharing] Add test for confirm dialog." into main 2024-06-11 05:12:58 +00:00