Commit Graph

136891 Commits

Author SHA1 Message Date
Valentin Iftime
236f1a0f17 Validate ringtone URIs before setting am: 7ba175eaeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24956689

Change-Id: Id2d5f2423cacd7e4bb06fe46e1773b512a79fc29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 19:22:51 +00:00
Treehugger Robot
deddbe2720 Merge "Validate ringtone URIs before setting" into udc-dev am: 410fe2f16e am: 8f3d594305
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24969251

Change-Id: I6f6b9daa2a8794cfc7eb64217b87184f75a0e383
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 19:20:14 +00:00
Treehugger Robot
8f3d594305 Merge "Validate ringtone URIs before setting" into udc-dev am: 410fe2f16e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24969251

Change-Id: Idefa9ae0fd0a1bbd2353d518307bf32369c1f21b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 18:46:03 +00:00
Treehugger Robot
38906db8fe Merge "Validate ringtone URIs before setting" into udc-dev am: 410fe2f16e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24969251

Change-Id: I4e52611bce13f21ccafddd730509f8da21495731
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 18:43:52 +00:00
Randy Pfohl
27c6774f10 Merge "Updating corner gesture summary string" into main 2023-11-08 18:42:55 +00:00
Treehugger Robot
e808116b30 Merge "Validate ringtone URIs before setting" into udc-dev am: 410fe2f16e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24969251

Change-Id: I974f2442cb132cc97bdd843fbc3840e268f361fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 18:42:27 +00:00
Treehugger Robot
97e9b7696f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-08 18:21:31 +00:00
Treehugger Robot
410fe2f16e Merge "Validate ringtone URIs before setting" into udc-dev 2023-11-08 18:05:31 +00:00
Hansen Kurli
eea7c3c8d5 Catch UnsupportedOperationException of startLegacyVpn
startLegacyVpn may throw UnsupportedOperationException. Instead
of crashing Settings, catch the exception and show a Toast.

Bug: 161776767
Test: Manual test, connect legacy vpn profile and observe Toast.
Change-Id: I5947f2043aa68478f659b34531202f225eab4568
2023-11-08 20:39:00 +08:00
Ajinkya Chalke
e9c09d9c83 Merge "Conditionally add tail button pref" into main 2023-11-08 11:09:28 +00:00
Jason Chiu
769fbae59f Prevent ANR while receiving volume broadcasts to update slices
Use ConcurrentHashMap for registering Uri to the audio stream, and
remove synchronized blocks from the receiver.

Fix: 302234235
Fix: 301777614
Test: manual, robotest
Change-Id: I5cca209baf9756aebb8ff44b7e8e9671d2c7aaad
2023-11-08 10:44:57 +00:00
josephpv
6def09c9eb Start All Apps on successful PrivateSpace setup completion
Bug: 309130594
Test: Verified Launcher App Alls is launched on setup complete
Change-Id: I6842d85617e3862f18b2183e8dda7bd7b575bce8
2023-11-08 10:38:09 +00:00
Yiyi Shen
28ef49e0ac [Audiosharing] Impl the stop audio sharing dialog.
Show the dialog when an ineligible remote device connected during the
sharing session.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I3b3cc2e5e20dab7c07f9979bc01f53d6127ea20b
2023-11-08 18:08:35 +08:00
Chaohui Wang
0e1edc6c74 Merge "Fix ContentProtectionTogglePreferenceController" into main 2023-11-08 09:05:22 +00:00
Chaohui Wang
32d9280e97 Merge "Revert^2 "Migrate to CompoundButton.OnCheckedChangeListener"" into main 2023-11-08 09:05:22 +00:00
Yuanru Qian
401d34fed9 Merge "Fix a bluetooth page footer message." into main 2023-11-08 08:45:38 +00:00
Treehugger Robot
f883aa843e Merge "Fix ListPreference title cutted off problem" into main 2023-11-08 08:42:48 +00:00
Quang Anh Luong
884c5ab9bf Show wifi list progress bar when scanning
Show the progress bar in Internet Settings while we're currently
scanning for networks, and then stop when we receive the results of the
scan.

Bug: 308567866
Test: manually verify progress bar is shown while wifi is scanning
Change-Id: Ice500c69d24f7843b1a6b64c9ac5245b16c7c0db
2023-11-08 17:30:52 +09:00
MiltonWu
96591ed001 Refine FaceEnrollEducation UI
Update switch button style and adjust the margin for head motion swith
button on the end of FaceEnrollEducation page

Bug: 293274664
Test: Manually check UI
Change-Id: Ifff42364c75bc7c0a83a0211743dcd1e50f04aac
2023-11-08 16:10:53 +08:00
Xinyi Mao
7350779738 Merge "Add log of BatteryEvent and BatteryUsageSlot while dumpping." into main 2023-11-08 08:06:44 +00:00
Sunny Shao
b0942b61ed Fix ListPreference title cutted off problem
- Remove the code of the setSingleLineTitle.
- Remove the additional code in the SpellCheckerPreference.

Fixes: 306795084
Test: manual test
Change-Id: Ib279496b9456cab9df9c542b8fee455d28ef01d9
2023-11-08 15:54:11 +08:00
Yuanru Qian
d56ed8b7ae Fix a bluetooth page footer message.
Bug: 300648205
Test: Compiled
Change-Id: I3040a7c886332159576ab9b0a6abeca606e511c5
2023-11-08 07:51:26 +00:00
Yiyi Shen
0a5bbd34b9 Merge "[Audiosharing] Add audio sharing section to Connected devices page." into main 2023-11-08 07:33:09 +00:00
Chaohui Wang
2284e5a7a4 Merge "Limit wifi item edit content's max length to 500" into main 2023-11-08 07:04:55 +00:00
mxyyiyi
56aa92f7c4 Add log of BatteryEvent and BatteryUsageSlot while dumpping.
Test: manual
Bug: 294945588
Change-Id: If3cb4a4014d20f0d0c6275f54d141c1bdb4ac962
2023-11-08 14:46:52 +08:00
Chaohui Wang
972a94a374 Merge "Prevent Erase SIM during call" into main 2023-11-08 06:11:30 +00:00
Yiyi Shen
2f2afa22fd [Audiosharing] Add audio sharing section to Connected devices page.
The section will show up during a sharing session.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I59cf81b35dcbf328b253d72d7fdc86af450251ee
2023-11-08 13:41:05 +08:00
Yiling Chuang
c57d1ef69a Merge "Provide the flexibility to add more tip detector" into main 2023-11-08 04:51:57 +00:00
Faye Yan
af9bbb9faf Merge "Filter out apps that are not pre-granted with voice activation permission for voice activation apps." into main 2023-11-08 04:40:48 +00:00
fayey
3c533755ec Filter out apps that are not pre-granted with voice activation
permission for voice activation apps.

Bug: 306447565
Bug: 303727896
Bug: 309677303
Test: presubmit
Change-Id: Iecdfdb158029e139283233cbfbae7b405a916f24
2023-11-08 03:24:44 +00:00
Chaohui Wang
478ab50c01 Prevent Erase SIM during call
By collecting call state and only enable preference when idle.

Fix: 298893271
Test: manual - on Mobile Settings during call
Test: unit tests
Change-Id: Ifd567a6b68a3efbb0b42bfa0233f7c54eca07ae1
2023-11-08 03:08:56 +00:00
Yi-Ling Chuang
ac8925518a Provide the flexibility to add more tip detector
Bug: 309054332
Test: robotests
Change-Id: I650141072b6de6c4dcdbbb853fb9997295d6e929
2023-11-08 10:39:59 +08:00
Bill Yi
abc050a0a2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I66cc124b528ef022b1df904cbacb92fb6bc8744f
2023-11-07 18:26:56 -08:00
Hao Dong
3ba7db1a72 Fix lock screen notification string.
Test: manual test on SUW
Bug: 293108091

Change-Id: If4999d1e88a3657d33ff89d43ec13d78964b49c4
2023-11-08 01:18:57 +00:00
Kyle Zhang
061cf714f8 Add Widevine developer option to settings
Bug: 301669353
Change-Id: Idcca4cc6ce2e614a79a0ac95eb8c39cf05b91f56
2023-11-08 00:25:33 +00:00
Treehugger Robot
a1903353da Merge "Scroll-down after click accessiblity button" into main 2023-11-07 22:52:21 +00:00
Randy Pfohl
2aeff64425 Updating corner gesture summary string
Test: Built and ran locally

Bug: 308421854

Change-Id: I395628a66f032f5f99c8060b4c142ff4c0a2d7d1
2023-11-07 22:45:13 +00:00
Ajinkya Chalke
15c617625a Conditionally add tail button pref
- The connected device settings shouldn't show the tail button pref
  setting if the input device doesn't support it.

Bug: 293472525
Test: atest StylusDevicesControllerTest
Flag: NONE
Change-Id: I50ab43e971b0dd8530a5bdab8544a46e889366ee
2023-11-07 17:39:29 +00:00
YK Hung
b75a956c10 Merge "Update the constant fields in the BatteryOptimizeUtils" into main 2023-11-07 16:27:32 +00:00
Manish Singh
779cda70d9 Check all users if anyone needs a new tab
Earlier we were making decision based on the first user that has the
SHOW_IN_SETTINGS_SEPARATE property. A later user could require a new tab
as well.

Bug: 309605138
Test: manual
Change-Id: Ib4fd88d31153974dfad07c0b815ef011b11d1567
2023-11-07 15:01:37 +00:00
Chaohui Wang
bf70edddd0 Fix ContentProtectionTogglePreferenceController
The OnMainSwitchChangeListener is replaced with OnCheckedChangeListener

Bug: 306658427
Test: m Settings
Change-Id: I24021cb9acb308c3f85e51e9f79ad2bf564c789a
2023-11-07 14:18:13 +00:00
Chaohui Wang
08a1c9876e Revert^2 "Migrate to CompoundButton.OnCheckedChangeListener"
8979681a8d

Change-Id: I60edd3aabf49afbe4aa016af780baa68d928bddf
2023-11-07 14:17:15 +00:00
Sebastian Pickl
8979681a8d Revert "Migrate to CompoundButton.OnCheckedChangeListener"
Revert submission 25147565-onSwitchChanged-CompoundButton

Reason for revert: breaking builds 

Bug:309601476

Reverted changes: /q/submissionid:25147565-onSwitchChanged-CompoundButton

Change-Id: Ie746db87d9c642599593aa3d5e5baf6b7ba89c0e
2023-11-07 13:26:36 +00:00
Chaohui Wang
71d1f021af Migrate to CompoundButton.OnCheckedChangeListener
Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427
Test: manual - check Settings pages
Change-Id: If2e08a9a9557ec66a3b31ef18cd2e15943098a59
2023-11-07 20:22:27 +08:00
SongFerng Wang
86bf501829 Merge "Fix the burst callback issue on the repository" into main am: a23320eedd am: 5ec0fa333c am: fc536da3d2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2780887

Change-Id: I1789b63c6413e807683e293e874fa27c845e8752
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 10:55:56 +00:00
SongFerng Wang
a2b1d8a0a2 Merge "Fix the burst callback issue on the repository" into main am: a23320eedd am: 4362f09737 am: bc4909cafd
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2780887

Change-Id: I009b6ec4bbc2ff46160772f7bd8a773086c5e20b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 10:55:00 +00:00
ykhung
e5536bb101 Update the constant fields in the BatteryOptimizeUtils
Test: presubmit
Bug: 306329984
Change-Id: I64df1d6f632f913e2d3629f640c6c75437e19e13
2023-11-07 18:43:42 +08:00
SongFerng Wang
fc536da3d2 Merge "Fix the burst callback issue on the repository" into main am: a23320eedd am: 5ec0fa333c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2780887

Change-Id: Idd0f0be8b1772f955a56701e7d726000d965c908
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 10:13:10 +00:00
SongFerng Wang
bc4909cafd Merge "Fix the burst callback issue on the repository" into main am: a23320eedd am: 4362f09737
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2780887

Change-Id: I69a30d3d6af7b75177cee4c259786b7acbfdd5cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 10:11:00 +00:00
SongFerng Wang
5ec0fa333c Merge "Fix the burst callback issue on the repository" into main am: a23320eedd
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2780887

Change-Id: I5d83bd6ea2f3f44aa961c0a77aa64c1275f4b268
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 09:43:39 +00:00