Commit Graph

143322 Commits

Author SHA1 Message Date
Pavel Grafov
56ffe954e3 Merge "Clean up fully rolled out HeadlessSingleUserFixes" into main 2024-09-04 17:48:46 +00:00
Treehugger Robot
8ff38abd0a [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: cadbfc0cb1 am: ae7acf70d8 -s ours am: 6f83164a3c -s ours am: 5efd44a3c0 -s ours am: 2564e04042 -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 2f53e6ab61 is already in history

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

Change-Id: Ic604c31d531f2774b4296f7b7b3db24e0a4930ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:45:41 +00:00
Treehugger Robot
1949a39fbd [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: 38d0889de0 am: 2c4e70c518 am: 377a9d422b am: 3e9fc00ee7 -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 2f53e6ab61 is already in history

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

Change-Id: Ia17d369bca2174ba1667d4af38137e2352e4f78a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:45:27 +00:00
Treehugger Robot
58657ee9f0 [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: cadbfc0cb1 am: ae7acf70d8 -s ours am: 6f83164a3c -s ours am: 74a0614bbf -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 2f53e6ab61 is already in history

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

Change-Id: I974202edb9ad74eae3cf3412906751532ca32195
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:34:27 +00:00
Treehugger Robot
960add9471 [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: 38d0889de0 am: 2c4e70c518 am: d7c3b58445 -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 1189e24e47 is already in history

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

Change-Id: I38a5bd6ffe93d0977a69440a1db20ac7422d1516
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:34:14 +00:00
Treehugger Robot
2564e04042 [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: cadbfc0cb1 am: ae7acf70d8 -s ours am: 6f83164a3c -s ours am: 5efd44a3c0 -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 2f53e6ab61 is already in history

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

Change-Id: Ic46966ec2c3d23a13a98385d6d958efced002946
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:33:45 +00:00
Treehugger Robot
3e9fc00ee7 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: 38d0889de0 am: 2c4e70c518 am: 377a9d422b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: Iec705232714aaed1bf1724dbc3333add49aaa581
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:33:35 +00:00
Treehugger Robot
5efd44a3c0 [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: cadbfc0cb1 am: ae7acf70d8 -s ours am: 6f83164a3c -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 2f53e6ab61 is already in history

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

Change-Id: I6bffa8a3bdcc23442c6e060e6b81219c8b8cee42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:24:11 +00:00
Treehugger Robot
377a9d422b Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: 38d0889de0 am: 2c4e70c518
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: Ibb62cae522d0579d72b7e337b5b59cc1aad4ded8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:23:59 +00:00
Treehugger Robot
74a0614bbf [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: cadbfc0cb1 am: ae7acf70d8 -s ours am: 6f83164a3c -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 2f53e6ab61 is already in history

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

Change-Id: I6dc231c9fce25a18d820516122f2cad8c9e5a264
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:23:50 +00:00
Treehugger Robot
d7c3b58445 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: 38d0889de0 am: 2c4e70c518
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: I3e6c5b731b13416f4673909deb1578827c3afd68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:23:36 +00:00
Treehugger Robot
6f83164a3c [automerger skipped] Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: cadbfc0cb1 am: ae7acf70d8 -s ours
am skip reason: Merged-In Id74e4b7ae261f2916eedaef04a679f83409a4b67 with SHA-1 2f53e6ab61 is already in history

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

Change-Id: I514e121a22d7b032d00dc48313f639a9f4ed98cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:23:05 +00:00
Treehugger Robot
2c4e70c518 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: 38d0889de0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: Ieed1358c10603d3481e672d8388b96befa0bbca1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:14:23 +00:00
Treehugger Robot
ae7acf70d8 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734 am: cadbfc0cb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: I743f48ae10a6c831d53cf0b06a8bfbf82292b11d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:13:55 +00:00
Treehugger Robot
cadbfc0cb1 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: Ib8b4501a4f471835708354c281020f0cc57812f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:00:10 +00:00
Treehugger Robot
38d0889de0 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952 am: a6755d0734
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: I3222988b72efd562f2215217c764962e4eec814a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 17:00:07 +00:00
Treehugger Robot
a6755d0734 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69 am: a1fea68952
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: Ie2376064867d72868e5fed092bc04c5412b13449
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 16:50:02 +00:00
Treehugger Robot
a1fea68952 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d am: 72e4718e69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: I9695aa42a1713b803f4cf1b72f5ae308eee62a6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 16:38:58 +00:00
Treehugger Robot
72e4718e69 Merge "startActivityForResult with new Intent" into sc-dev am: 5e94bcbb1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28761671

Change-Id: Ife0d68f9156a3ff6ffd1f08b2d58bf9741a734f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 16:29:04 +00:00
Treehugger Robot
252761d129 Merge "Clean up TARE" into main 2024-09-04 16:27:35 +00:00
Treehugger Robot
5e94bcbb1d Merge "startActivityForResult with new Intent" into sc-dev 2024-09-04 16:26:10 +00:00
Treehugger Robot
ab1f6480c2 Merge "Update the time zone picker to work with location containing diacritics" into main 2024-09-04 12:02:26 +00:00
shaoweishen
bf4442162d [Physical Keyboard][A11y Page] Add new Keyboard A11y page
Add new Keyboard A11y page, and controled with flag.
Demo video: b/345399212#comment6

Bug: 345399212
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I4bd45ff16c8abb33e1cf56c377ea86c20195fe26
2024-09-04 10:00:52 +00:00
Geoffrey Boullanger
766c7951fb Update the time zone picker to work with location containing diacritics
Currently, looking for a location containing diacritics (e.g. accents) requires the user to type in exactly those characters. With this change, diacritics are ignored and the strings are returned if they match (using startsWith).
For example, looking for "reun" will show you "Réunion".

Bug: b/364245352
Test: atest tests/robotests/src/com/android/settings/datetime/timezone/BaseTimeZoneAdapterTest.java
Change-Id: I507a9ebc1c830ad3162fb2382814935fc337328d
Flag: EXEMPT bugfix
2024-09-04 09:23:20 +00:00
Zoey Chen
d99ea6b397 [Settings] Restore the position
Bug: 314888469
Test: manual
Flag: EXEMPT bugfix
Change-Id: I419a863b55b1357b9fbe14f2f2a88dd623bd5b53
2024-09-04 09:19:01 +00:00
Haijie Hong
f93aaadad0 Show a dialog if bluetooth key is missing when reconnecting
Previous change is reverted due to test failure in b/362901443.

BUG: 360031750
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I05b940e8aac26c14f93baa19c224ad98c291b891
2024-09-04 09:05:08 +00:00
Chaohui Wang
d7a2aeb82d Clean up TARE
Bug: 331617295
Flag: EXEMPT clean up
Test: m Settings
Change-Id: Ie37617a082c7036672d2901ed45146932a5d97d8
2024-09-04 17:00:41 +08:00
SongFerng Wang
1ffafd365e Merge "Update error dialog text for SIM switching" into main 2024-09-04 08:39:31 +00:00
Haijie Hong
637984a38d Merge "Make HIGH_QUALITY_AUDIO_PREF_TAG public" into main 2024-09-04 05:17:43 +00:00
Chaohui Wang
8e28dbbee7 Merge "Clean up FileSizeFormatter" into main 2024-09-04 04:44:22 +00:00
Chaohui Wang
d74026cfc4 Merge "Settings search for Data warning & limit" into main 2024-09-04 04:31:10 +00:00
Haijie Hong
a43ff10579 Make HIGH_QUALITY_AUDIO_PREF_TAG public
BUG: 360031750
Test: local tested
Flag: EXEMPT no logic change
Change-Id: Icfb5879f9b44b83c3e4bcfb4628a36b7cefcff01
2024-09-04 03:23:24 +00:00
Chaohui Wang
426cbd623d [Safer intents] App Time Spent Preference
Set package com.android.internal.R.string.config_systemWellbeing to the
intent.

Fix: 356117796
Flag: EXEMPT bug fix
Test: manual - on App info
Test: atest AppTimeSpentPreferenceTest
Change-Id: I2af7b53a75fe5c6915dd9781406039822789c18c
2024-09-04 11:18:28 +08:00
Yiyi Shen
5e9afcf59c Merge "[Audiosharing] Disable main toggle till device gets active." into main 2024-09-04 02:50:54 +00:00
Chaohui Wang
b12a4d30ad Settings search for Data warning & limit
Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search data warning
Change-Id: Ifc29b8979a5ba523e930b0c3a59fcb3d9ab99571
2024-09-04 02:33:23 +00:00
Matías Hernández
c43be041f5 Merge "Support (non-editable) display of DND with a filter != PRIORITY" into main 2024-09-03 18:45:16 +00:00
Daniel Norman
c37ea1b570 Removes ambiguity in "Shortcut from lock screen" string.
Adds "Volume keys" to clarify that this only applies to the volume
keys shortcut

Flag: EXEMPT resource only update
Fix: 349179115
Change-Id: Ic5b5856f82e67b1e1702c0603597b337ab759a14
2024-09-03 17:57:04 +00:00
Chun-Ku Lin
e1e7464dde Merge "Use the correct package name for DevelopmentMemtagFooterPreferenceController" into main 2024-09-03 17:13:54 +00:00
Chun-Ku Lin
3ed0afc982 Merge "Pass null looper if the looper is not prepared in the calling thread" into main 2024-09-03 17:09:29 +00:00
SongFerng Wang
43392fe071 Update error dialog text for SIM switching
The error dialog text for SIM switching is not accurate.
This CL updates the error dialog text for SIM switching.

Bug: 363265948
Change-Id: I8b0348fc791cc4d4ce84e1b33f1fe99fb4e03ed7
Test: NA
Flag: EXEMPT bugfix
2024-09-03 10:48:48 +00:00
Angela Wang
ed519640fa Add hearing device related logs in Settings
1. The HAC toggle on/off event
2. The "See more devices" button click in hearing device pairing page
3. The preset changed event in Bluetooth device details page

Flag: EXEMPT, simple log
Bug: 361206470
Test: manually check on go/atomviewer
Test: atest BluetoothDetailsHearingAidsPresetsControllerTest
Change-Id: I743ea136ec4cb3370c0463df865db830e73e7997
2024-09-03 08:06:43 +00:00
Yiyi Shen
db89eaa0a2 [Audiosharing] Update cancel btn label.
When broadcast is off, the negative btn of share audio dialog should be
"Switch to xxx"

Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 305620450
Change-Id: I8006e2901b8f859d1ee86cbf12d81401e004aa0f
2024-09-03 07:57:12 +00:00
Yiyi Shen
e4505fecb7 Merge "[Audiosharing] Add new strings" into main 2024-09-03 07:47:56 +00:00
Yiyi Shen
f6ce11eb4b [Audiosharing] Add new strings
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 305620450
Change-Id: I15c6a0dd701d091e763429be91d77c281538b604
2024-09-03 06:17:24 +00:00
Chaohui Wang
b2c6bf49c4 Clean up FileSizeFormatter
Which is not used after Change I37c7b3a4b5860323cb55581b23a90f583f4af216

Fix: 364129275
Flag: EXEMPT clean up
Test: robotests
Change-Id: I0db29c77a1dd938bff53df9e5f33c95cc0fbaad4
2024-09-03 11:39:20 +08:00
Chaohui Wang
61166c99b2 Merge "Refine CrossSimCalling updating" into main 2024-09-03 02:58:25 +00:00
Matías Hernández
b210f35a76 Prevent "new mode" and "choose schedule" dialogs from being created without a listener
This can happen if the activity is recreated; our approach doesn't support this case very well. With this change, the dialog is not reshown when the activity is recreated, which is not optimal but better than crashing (as it does today). There is no lost work because it's the first choice, and the follow-on steps (icon picker, etc) can be recreated without problems.

Fixes: 359746551
Test: manual, with don't keep activities
Flag: android.app.modes_ui
Change-Id: I84bdeb0007e8c50ec9dd8af61991c7e55ddb8298
2024-09-02 18:29:23 +02:00
Pavel Grafov
95efbfa8bb Clean up fully rolled out HeadlessSingleUserFixes
Flag was rolled out in Android V.

Bug: 335663055
Test: TH
Flag: EXEMPT flag cleanup
Change-Id: Iaccd1c594f588b40f46e653b83e257f90b048bf4
2024-09-02 16:44:04 +01:00
Yiyi Shen
85d1148e87 Merge "[Audiosharing] Avoid audio sharing dialogs in call" into main 2024-09-02 10:40:28 +00:00
Tetiana Meronyk
9ba90e5b3b Update main toggle state in User Settings onResume()
The toggle state used to be set on creation and only changed onSwitchToggled(). But the state can also change when restrictions are applied from outside of settings, or when user is added with toggle being off by default.

This change updates the state during execution of onResume() in Users Settings, which also aligns with the update strategy of other Toggles on this Settings page.

Bug: 362706097
Test: atest MultiUserSwitchBarControllerTest
Flag: EXEMPT bugfix
Change-Id: I8a994b2e0ddb672362e69653374b87f85ae1548c
2024-09-02 10:28:51 +00:00