Commit Graph

136917 Commits

Author SHA1 Message Date
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
SongFerng Wang
4362f09737 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: Ia0f4f76a704973e123cfe5e4c2d571bbea0c861f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 09:41:19 +00:00
Hyundo Moon
e07cfd8b0b Merge "Send bluetooth permission reply intent only to BT package" into main 2023-11-07 09:19:39 +00:00
SongFerng Wang
e60c9521c2 Merge "To avoid crash IllegalStateException" into main 2023-11-07 09:16:30 +00:00
SongFerng Wang
a23320eedd Merge "Fix the burst callback issue on the repository" into main 2023-11-07 09:11:06 +00:00
Yiyi Shen
e4aabf044a Merge "[Audiosharing] Impl audio sharing main switch." into main 2023-11-07 09:05:39 +00:00
Jun Lan
b29cadb3dc Merge "Format battery java test code" into main 2023-11-07 09:03:33 +00:00
SongFerngWang
5eae90d731 To avoid crash IllegalStateException
Bug: 308855978
Test: [pass]make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: Ia0a1cbe0326e63b878c3fe7797ca47e25ccc16d4
2023-11-07 16:00:41 +08:00
Yiyi Shen
87372de071 [Audiosharing] Impl audio sharing main switch.
Start/stop broadcast when >=1 eligible buds connected.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: Ic982571f49ab79c39d0503929df4bb8be64b720e
2023-11-07 15:41:34 +08:00
Treehugger Robot
3c1a8eff2f [automerger skipped] Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main am: 85ca373e75 am: f19320aca6 -s ours am: 20ceda45d4 -s ours
am skip reason: Merged-In Iaaa37a8e55d755f8abcbaa26c31bf7962e166e96 with SHA-1 ad01bf88a7 is already in history

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

Change-Id: I2b40787394aa20d254ceb0c2f1c76e32598f2e93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 06:02:40 +00:00
Treehugger Robot
ad1893a886 [automerger skipped] Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main am: 85ca373e75 am: 3521df9dca am: e79bdaef63 -s ours
am skip reason: Merged-In Iaaa37a8e55d755f8abcbaa26c31bf7962e166e96 with SHA-1 a5d82be483 is already in history

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

Change-Id: If3add404ec99e96961c928cf27e9d3b25c637301
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 06:02:16 +00:00
Chaohui Wang
0d338cd1df Let SpaBridgeActivity support ActivityEmbedding
Move the multi pane shared logic into EmbeddedDeepLinkUtils.

Fix: 309075424
Test: manual - with SpaActivity
Test: unit tests
Test: m RunSettingsRoboTests ROBOTEST_FILTER=".*\.SettingsActivityTest"
Change-Id: I8c41c801b8a5009a3959c85b784ed9739d947a70
2023-11-07 13:24:59 +08:00
Treehugger Robot
20ceda45d4 [automerger skipped] Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main am: 85ca373e75 am: f19320aca6 -s ours
am skip reason: Merged-In Iaaa37a8e55d755f8abcbaa26c31bf7962e166e96 with SHA-1 ad01bf88a7 is already in history

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

Change-Id: Idaaf14e0a312aaa1a9dc51c91273ad9fa9423faf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 05:21:11 +00:00
Treehugger Robot
e79bdaef63 Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main am: 85ca373e75 am: 3521df9dca
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2810325

Change-Id: Ic739f9650dcfe638521dc0488c397ef9b8fa5ea7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 05:18:50 +00:00
Haijie Hong
005c47f19c Add feature flags for VolumePlus
BUG: 309052662
Test: m Settings
Change-Id: I36aad5bb290aee835d586f0791347ab3a05e77f1
2023-11-07 04:55:49 +00:00
Treehugger Robot
f19320aca6 Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main am: 85ca373e75
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2810325

Change-Id: I71614129cf95ac29f845dadf479135dcb3a5a48c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 04:52:27 +00:00
Treehugger Robot
3521df9dca Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main am: 85ca373e75
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2810325

Change-Id: I0ac76dbfb034e1a9856b231aa59b3ec0197914d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 04:48:36 +00:00
Jun Lan
358a85ecfe Format battery java test code
context:go/pixel-energizer-java-format

Test: manual
Bug: 304439460
Fix: 304439460
Change-Id: I5be0ee41afb3a7018bc7e25cceccc25669924d6c
2023-11-07 12:27:43 +08:00
Treehugger Robot
85ca373e75 Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main 2023-11-07 04:08:35 +00:00
Treehugger Robot
01e207ede7 Merge "Check if the bedtime settings intent is null before launch" into main 2023-11-07 02:58:40 +00:00
Wa Gao
2ddabf5785 Merge "Add the controller for the top switch." into main 2023-11-07 01:22:43 +00:00
Wa Gao
aa5d7420db Add the controller for the top switch.
Bug: 302189945
Change-Id: Ie43ac181e643a8b215ca830afc6ef670d91a5762
2023-11-06 23:46:56 +00:00
Evan Chen
c218eb5d60 Make sure work profile app cant enable notification listener services am: 3465535747 am: 3cd41d5c6f am: 0947ff6b98 am: 91233dd150 am: 0ff2532331 am: b375697a26 am: 20349c8e5a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25007539

Change-Id: If44b3568b159ea5e2ebbae2791044ad17c9df610
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-06 22:52:59 +00:00
Evan Chen
bd9f86d059 Make sure work profile app cant enable notification listener services am: 3465535747 am: d1eadc08dc am: 9b0c7298cc am: aed207ff31 am: 3511d5be34 am: 813729892a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25007539

Change-Id: I40a0f82f64daf060df185e9a86326c72a5bd0c07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-06 22:52:20 +00:00
Evan Chen
75a0f0c4f8 Make sure work profile app cant enable notification listener services am: 5c6ca7959c am: dab54b5734 am: cdc4580ec5 am: b2fd3a7029 am: 985f2d27f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25008551

Change-Id: I4f36808e54e1f78569a77a0260b8929d1339ba81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-06 22:51:40 +00:00