Commit Graph

143824 Commits

Author SHA1 Message Date
Joshua Mccloskey
1d6b6cef69 Merge "Added error message to error state." into main 2024-10-17 06:47:11 +00:00
Xinyi Mao
efb5fa5003 Merge "Use BatteryOptimizeUtils to add packageName into PowerSaveWhitelistUserApps allowlist, which will set app into Unrestricted Mode" into main 2024-10-17 04:59:43 +00:00
Treehugger Robot
4d19f45505 Merge "Rename CatalystScreenTestCase.context" into main 2024-10-17 02:21:56 +00:00
Shaowei Shen
3836bfa202 Merge "[Physical Keyboard] Add slow keys dialog" into main 2024-10-17 02:06:01 +00:00
Treehugger Robot
73742e3c34 Merge "Provide icon for catalyst screens" into main 2024-10-17 01:51:10 +00:00
Treehugger Robot
421bd753c4 Merge "Migrate Text Reading" into main 2024-10-17 00:49:14 +00:00
Jaewan Kim
198579affb Merge "Enable Linux terminal app via developer settings" into main am: fcc6b6ce7c am: 49be3eebd5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3293590

Change-Id: Icd327f4e45c3cef1eabed2a30f38ecbf2fa86a12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-17 00:03:28 +00:00
Jaewan Kim
49be3eebd5 Merge "Enable Linux terminal app via developer settings" into main am: fcc6b6ce7c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3293590

Change-Id: I6ba801b4ac147769d2a3fda75f4aa819d8e2239d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-16 23:43:23 +00:00
Jacky Wang
1e13457267 Rename CatalystScreenTestCase.context
Bug: 370394101
Flag: EXEMPT test
Test: N/A
Change-Id: Icfe546154a079f24a75455d25d128d5e550162cd
2024-10-17 07:38:31 +08:00
Jacky Wang
9b62ec9616 Provide icon for catalyst screens
Bug: 335132588
Flag: EXEMPT N/A
Test: Manual
Change-Id: I520529c3bf4a7db01889d08683f55b0efb21eae4
2024-10-17 07:38:24 +08:00
Jaewan Kim
fcc6b6ce7c Merge "Enable Linux terminal app via developer settings" into main 2024-10-16 23:23:29 +00:00
Jaewan Kim
591d4fd932 Enable Linux terminal app via developer settings
Bug: 369246712
Test: `atest SettingsRoboTests`, try toggle the option, \
  and try search with 'Linux'.
Flag: RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Ibdcf00de04f09fe5b03ba53857904945354ed844
2024-10-16 15:49:12 +00:00
Treehugger Robot
2f80653aab Merge "Fix a crash in PhysicalKeyboardFragment" into main 2024-10-16 14:44:34 +00:00
Sunny Shao
3d2f06fd7b Migrate Text Reading
Add the skeleton of the Text Reading

Test: atest TextReadingScreenTest
Bug: 372776688
Flag: com.android.settings.flags.catalyst_text_reading_screen
Change-Id: Ic5afa8da5ee7ea02d9ce9479c14d2c71e751dee4
2024-10-16 21:16:39 +08:00
Arpit Singh
68d5492baf Fix a crash in PhysicalKeyboardFragment
The crash is caused by using getContext() in a background thread. This CL changes it to use the context passed in as a parameter.

Bug: 373789342
Change-Id: Ia0197640b3d01cf305bfd9ebc8465b0c8e0dc016
Test: manual and presubmit
Flag: EXEMPT bugfix
2024-10-16 12:41:45 +00:00
Treehugger Robot
56dd252385 Merge "Migrate Dial pad tones preference" into main 2024-10-16 12:27:01 +00:00
shaoweishen
7aefcf71b6 [Physical Keyboard] Add slow keys dialog
demo: https://screenshot.googleplex.com/7CPpfHvAixe9Awr.png
Add dialog for Slow keys, which have same set up with Bounce keys.
Move dialog logic to InputSettingPreferenceController, to reuse it from
slow keys controller.

Bug: 346949547
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled

Change-Id: Ia4d74fcf3f20ed68cb252503e88d99ea79eae291
2024-10-16 09:31:06 +00:00
Mill Chen
898feed16a Migrate Dial pad tones preference
Bug: 364899400
Test: atest DialPadTonePreferenceTest
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I5939a4d41ad61337f38bd5d48a1cb74f14f1e397
2024-10-16 09:25:13 +00:00
Chaohui Wang
9936dae2be Merge "Clean up getNetworkTypeFromRaf()" into main 2024-10-16 09:06:24 +00:00
Treehugger Robot
ff94f6026b Merge "Remove unneeded cast to SettingsActivity" into main 2024-10-16 09:02:46 +00:00
Fan Wu
d93efafd95 Remove unneeded cast to SettingsActivity
This is a prerequisite for using upcoming Catalyst integration test

Bug: 372774754
Test: atest
Flag: EXEMPT minor update
Change-Id: I4809df8d06f0c3d2de1c10d17e997ff80a8d4086
2024-10-16 08:02:03 +00:00
Treehugger Robot
22aebb7599 Merge "Add MaterialComponents.DayNight to SearchBarStyle" into main am: 71c59bae9c am: fa97f902d7
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3252493

Change-Id: I283b32631c3184011cdc6c684e266740b3963c1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-16 07:26:35 +00:00
Treehugger Robot
fa97f902d7 Merge "Add MaterialComponents.DayNight to SearchBarStyle" into main am: 71c59bae9c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3252493

Change-Id: I4f85371e9ebe33b896192e4f47e033dee1592a30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-16 07:07:04 +00:00
Treehugger Robot
71c59bae9c Merge "Add MaterialComponents.DayNight to SearchBarStyle" into main 2024-10-16 06:51:55 +00:00
Jacky Wang
d74c4d3cb8 Merge "Enable catalyst test for NetworkDashboardScreenTest" into main 2024-10-16 06:51:34 +00:00
Jacky Wang
085a623171 Merge "Remove isCatalystEnabled check from SoundSettings" into main 2024-10-16 06:51:28 +00:00
Chaohui Wang
a088e4c6c5 Clean up getNetworkTypeFromRaf()
And also getRafFromNetworkType()

Use the version in android.telephony.RadioAccessFamily instead.

Bug: 373771849
Flag: EXEMPT refactor
Test: manual - on sims settings
Test: unit tests
Change-Id: I09a3d6a4cdfb9844a92ad8f0507b03b08ce91f27
2024-10-16 14:23:55 +08:00
Xinyi Mao
700f7e9ab2 Merge "Take as Unrestricted Mode in the UI if current Mode is Unknown." into main 2024-10-16 05:58:28 +00:00
mxyyiyi
1b83703adc Use BatteryOptimizeUtils to add packageName into PowerSaveWhitelistUserApps allowlist, which will set app into Unrestricted Mode
Bug: 372831500
Test: test manually by app "Baidu Cloud"> auto-backup settings > add into battery allowlist.
Flag: EXEMPT for simple fix
Change-Id: I225ff0a04db3b5863ab32920511f42fbc02440dc
2024-10-16 13:39:51 +08:00
Treehugger Robot
a876deec66 Merge "Fix name of COO." into main 2024-10-16 04:36:50 +00:00
Jacky Wang
42d2b08454 Remove isCatalystEnabled check from SoundSettings
Bug: 360015496
Flag: EXEMPT N/A
Test: atest SoundScreenTest
Change-Id: I3b392d009eaaf59ee77a1ea9951a7191fcc521d5
2024-10-16 12:22:42 +08:00
Jacky Wang
c04e468bd4 Enable catalyst test for NetworkDashboardScreenTest
Bug: 368355361
Flag: EXEMPT test only
Test: atest NetworkDashboardScreenTest
Change-Id: I06630abf88f833e69e4d28419f3ba9f6a2a355f3
2024-10-16 12:19:17 +08:00
Joshua McCloskey
d9c83e350b Added error message to error state.
This allows for further customization of string error messages when
needed.
Bug: 365565482
Flag: EXEMPT not needed
Test: manual

Change-Id: I57d6e7b09530bd810518e4154001140c5debfd6c
2024-10-16 04:04:34 +00:00
Yuchen
5951efefd7 Fix name of COO.
Test: visual
Bug: 370850767
Flag: EXEMPT bug fix
Change-Id: I41931b49e993806cc3de71c67f600faee2af241d
2024-10-16 03:21:12 +00:00
Robin Vinterbladh
dc419524c5 Add MaterialComponents.DayNight to SearchBarStyle
When opening the Settings app or changing colors in ThemePicker
there are tons of warnings with UnsupportedOperationException in
the log. These logs are related to the
LayoutInflater attempting to inflate a MaterialCardView and
TypedArray#getColor where it expects the colors to be either an integer
color or a color state list. This happens every time you re-start
Settings.

To enable layout inflater finding colors for Settings we add a
MaterialComponents theme to SearchBarStyle, this makes sure that
TypedArray#getColor gets an integer color instead of relying on
framework to solve this.

Flag: NA
Bug: 363970601
Test: manual, open Settings and check the logs
Change-Id: I728c1537537bb4d32af6006800de93e64facfa8e
2024-10-16 01:05:12 +00:00
Treehugger Robot
c0b6e0bd4b Merge "[Catalyst] Vibration and haptics screen migration" into main 2024-10-16 00:43:14 +00:00
Guojing Yuan
a287a4644e [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: 9d5bbc8e9b -s ours am: 8d5e11d9d8 -s ours am: 444c871412 -s ours am: 613f019fb2 -s ours am: bd461d807e -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: Ia104514d71b208914c3527602bb5fdf57af81b32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 21:01:17 +00:00
Guojing Yuan
c2cd5b5351 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: ab697f3776 -s ours am: 5c59d451ac -s ours am: aa43306ed8 -s ours am: 39d6677be3 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I64b4680f39e14265cda67b6456830b5abc45d559
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 21:01:02 +00:00
Guojing Yuan
bd461d807e [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: 9d5bbc8e9b -s ours am: 8d5e11d9d8 -s ours am: 444c871412 -s ours am: 613f019fb2 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I752668ef93c9b70cf0c103f88429b10a0edbfabb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:22:05 +00:00
Guojing Yuan
39d6677be3 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: ab697f3776 -s ours am: 5c59d451ac -s ours am: aa43306ed8 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: Ic97e5660be665dbac4253ff4c2f6d41fd2764c41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:21:53 +00:00
Guojing Yuan
d2b68804d3 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: 9d5bbc8e9b -s ours am: 8d5e11d9d8 -s ours am: 444c871412 -s ours am: fb813e451a -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I417e7e577d3361b8018fb8a709e6d204df85f1fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:21:52 +00:00
Guojing Yuan
23914c8a5a [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: ab697f3776 -s ours am: 5c59d451ac -s ours am: f23d6835d9 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I1945fba42ff71421ddbdc81e489dcdb805a01b96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:21:38 +00:00
Guojing Yuan
613f019fb2 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: 9d5bbc8e9b -s ours am: 8d5e11d9d8 -s ours am: 444c871412 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I210384ce88bc3586e0ef50e8c1d2f803c6ba4198
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:15:10 +00:00
Guojing Yuan
fb813e451a [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: 9d5bbc8e9b -s ours am: 8d5e11d9d8 -s ours am: 444c871412 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: Ib02afdae32996f315caf5e300afd0f56e6a9d9fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:08:41 +00:00
Guojing Yuan
f23d6835d9 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: ab697f3776 -s ours am: 5c59d451ac -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I7a6f80fb16ad53037b85c06722153029cce1110e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:08:25 +00:00
Guojing Yuan
444c871412 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: 9d5bbc8e9b -s ours am: 8d5e11d9d8 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I8c1abdad66ca8be3644ea67dde1cd77a87044a18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:08:15 +00:00
Guojing Yuan
aa43306ed8 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: ab697f3776 -s ours am: 5c59d451ac -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I8c3d9d575f6d0caf9e3810cec5f1b9ef7965650e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:08:02 +00:00
Treehugger Robot
627538e100 Merge "Add piano and remove tent from zen icon picker" into main 2024-10-15 19:52:29 +00:00
Guojing Yuan
5c59d451ac [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: ab697f3776 -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I8edbacc880f6e6a1c99c71d3394774175817a5a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 19:50:39 +00:00
Guojing Yuan
8d5e11d9d8 [automerger skipped] [CDM][NLS] Check if the NLS service has an intent-filter am: 59cdc3e20c am: 268575fb3a am: c45030ba4b -s ours am: d4a01ee0db -s ours am: 9d5bbc8e9b -s ours
am skip reason: Merged-In Ib79c219cde8d73a218ceb7911f4552d43e384d8e with SHA-1 d440f2ef05 is already in history

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

Change-Id: I7fa4e6833e674e1fdc6d000cddd5a3235837271c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 19:50:11 +00:00