Commit Graph

143690 Commits

Author SHA1 Message Date
Diya Bera
b8ab650afe Add mandatory biometric for exported enroll intents
Flag: android.hardware.biometrics.flags.mandatory_biometrics
Fixes: 358173662
Test: N/A
Change-Id: Ic67d42ba84220f4c18cf445ae75d4f7f8dfd1f39
2024-08-27 14:10:17 +00:00
Yiyi Shen
d7d72f70d5 [Audiosharing] Handle auto start intent from QS
When intent extra EXTRA_START_LE_AUDIO_SHARING is true, audio sharing
page needs auto toggle on the main switch and start audio sharing.

And if there are one active sink and one connected sink, auto add source
to them without popping up dialog.

Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 331892035
Change-Id: I0c677ea33c9e0e3eeb8495c8618bff685b13a8ed
2024-08-27 11:45:30 +00:00
Haijie Hong
4b04b5e2d4 Use Spatializer in overlay for new device details page
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I6c80fac5e74902dd746262e555eb0a5a2e865718
2024-08-27 13:27:35 +08:00
Chun-Wei Wang
31ebeb690e Support alternate button
Align the behavior of frp and repair to have them
support the alternate button.

Bug: 339735656
Test: presubmit
Change-Id: Ib785db5ef16a68df4980dee451c6b638692adc5f
2024-08-27 10:16:11 +08:00
Bill Yi
c6dc7bd45b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I17e9aa8b6a7abca8d891d32732aef4b405362483
2024-08-26 16:40:17 -07:00
Bill Yi
14956078e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I08e37b009a69693ff4f1c6b1a69ba6e91d43af0f
2024-08-26 16:37:51 -07:00
Bill Yi
2a94059149 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6f459f9993b33465157c35a95112acf56241a09f
2024-08-26 16:35:58 -07:00
Android Build Coastguard Worker
5acc8f7306 Snap for 12278291 from d0ea9bc2bc to 24Q4-release
Change-Id: I2531b231cde9c457527fd04b891bff0a772873e9
2024-08-26 23:21:11 +00:00
Jakub Rotkiewicz (xWF)
d0ea9bc2bc Merge "bluetooth: remove debug logs guard" into main 2024-08-26 11:46:31 +00:00
Jakub Rotkiewicz
4f441c03a7 bluetooth: Fix Mono/Stereo selection with new codec list
When SBC was selected and user changed Channel mode from Stereo to Mono
the codec type wasn't set properly and the reconfiguration failed.

Bug: 329809288
Flag: EXEMPT - minor refactor
Test: manual - choose SBC and change mode to MONO
Merged-In: If847bab1cc05d8c38a680e87277dd857970b4251
Change-Id: Ie32e3a3aa85f866d504dde7396feacf154a2298b
2024-08-26 11:44:27 +00:00
Jakub Rotkiewicz
1b0d956d08 bluetooth: remove debug logs guard
Bug: 329809288
Flag: EXEMPT - log only
Test: mmm packages/apps/Settings
Merged-In: Ia1626aa6904c90729de518102aedbab226a25692
Change-Id: I1d7c2784d8c81c3c3bfd035c64042553261261f8
2024-08-26 11:43:53 +00:00
Treehugger Robot
25c58a6e50 Merge "Clean up EuiccPreferenceController" into main 2024-08-26 07:59:04 +00:00
SongFerng Wang
71d9d362b2 Merge "Modify the preferredSimDialogFragment" into main 2024-08-26 07:20:30 +00:00
Shawn Lin
b7d190008f Opt-out predictive back gesture for biometric face settings pages
Bug: 360782826
Test: manual
Flag: EXEMPT only disable predictive back gesture configs
Change-Id: Ib14cc714050c8700a4a5037a8793b7d22fe2135b
2024-08-26 06:48:19 +00:00
Treehugger Robot
9c44e35d02 Merge "Refine WifiDetailsSettingsActivity" into main 2024-08-26 02:25:19 +00:00
Matías Hernández
dd7f6b9163 Use ZenMode.getIconKey() and ZenIconLoader.getIcon() in Settings
Bug: 360399800
Bug: 361597532
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I82baaeaaa0d722f8042c7ac6be33b8654418391f
2024-08-25 15:50:56 +02:00
Android Build Coastguard Worker
6ff4228ce3 Snap for 12272146 from ba055aa8c2 to 24Q4-release
Change-Id: Ie7f42157b54eee1504ee974992b6cab456a613af
2024-08-24 01:21:25 +00:00
Treehugger Robot
ba055aa8c2 Merge "Add log for enable/disable zen mode" into main 2024-08-23 18:38:19 +00:00
Rambo Wang
deadbda614 Merge "Turn off RILD reset in Reset Network Settings Flow" into main 2024-08-23 18:20:01 +00:00
Jacob Hobbie
42d6144c02 Allow Watch Unlock to exit back to Device Unlock settings.
Seeking to imitate the behavior from fingerprint and face unlock. In GMS
Core we will control when to send the RESULT_TIMEOUT resultCode, but we
should generally exit all the way out to Device Unlock, where there is a
passcode entry requirement, when we swipe away from Watch Unlock's
settings.

Flag: com.android.settings.flags.active_unlock_finish_parent
Test: Manually
Bug: 343576960

Change-Id: Ia9a1564295a44ab6925ea9fceebf92f437e03731
2024-08-23 18:19:52 +00:00
Michał Brzeziński
f7222611d9 Merge "Launching touchpad tutorial as user 0" into main 2024-08-23 15:45:13 +00:00
Rambo Wang
dd7d18ec8a Turn off RILD reset in Reset Network Settings Flow
The CL temporarily removes RILD reset in the flow and plans to bring it back when a more reliable solution is available.

Resetting RID in the flow may cause device failure to camp on the default cellular network.

The interface used to reset RILD in the flow was designed for telephony process silent restart feature. The implementation doesn't  work well together with other reset options (e.g. nvResetConfig).

Bug: 356272264
Test: Execute feature test plan, including regression test
Flag: com.android.internal.telephony.flags.reset_mobile_network_settings
Change-Id: I955bcb0b151f27dc73c03a580c0144bea9e3bfa3
2024-08-23 15:17:21 +00:00
Weng Su
a21fbfa612 Refine WifiDetailsSettingsActivity
- Use the parameter's intent to avoid re-creating it in getIntent()

Bug: 349180072
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ia3549eccf22e30c4fd1ae011c51cf7840c76b1e5
2024-08-23 17:41:10 +08:00
songferngwang
b6be744bc6 Modify the preferredSimDialogFragment
After the telephony flag resetPrimarySimDefaultValues on, the telephony
set the preferred default subscription to remaining sim. Therefore, here
can ask whether the user uses [remaining SIM] for mobile data or not

Bug: 349783684
Test: remove the sim card, and settings show "use mobile data" dialog
Flag: EXEMPT bugfix
Change-Id: I5e3399e777bf1e8ef7998074082e55635eb23eb4
2024-08-23 09:24:21 +00:00
Treehugger Robot
f94d376104 Merge "Avoid launching Wi-Fi details settings if WifiEntry key is lost" into main 2024-08-23 07:48:57 +00:00
Treehugger Robot
bd74edd186 Merge "Add metrics for driving and bedtime interstitials" into main 2024-08-23 02:59:26 +00:00
Android Build Coastguard Worker
8779a8892e Snap for 12265118 from 4327d5e873 to 24Q4-release
Change-Id: Ibb1f005983bb326025c3874707b4593399334f0c
2024-08-22 23:21:49 +00:00
Weng Su
64987b0bea Avoid launching Wi-Fi details settings if WifiEntry key is lost
- When restarting Wi-Fi details settings from the recent apps, the extra data of the sent Intent may be lost, resulting in the loss of the necessary WifiEntry key

- Don't launch Wi-Fi details settings and remove it from recent apps in the above case

Fix: 349180072
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ifa9718b0197ab27b77c24b706f7974a664980fba
2024-08-23 06:19:39 +08:00
Matías Hernández
f2f2da6147 Merge "Update Modes List if modes change in the background" into main 2024-08-22 18:49:18 +00:00
Matías Hernández
47db8abc89 Merge "Don't observe Modes changes if MODES_UI is disabled" into main 2024-08-22 18:13:32 +00:00
Matías Hernández
d8603124d1 Don't observe Modes changes if MODES_UI is disabled
The ZenModesLinkPreferenceController is present in the Notifications and Sound screens, and although isAvailable() is false when MODES_UI is not enabled, it was still registering the listener for Settings changes, and calling updateState().

Thus, Settings would (likely) crash if Zen settings change while the user is in one of those screens, due to not finding the manual rule.

Fixes: 360498255
Test: atest ZenSettingsObserverTest
Flag: android.app.modes_ui
Change-Id: I7741809fd0028aace6ac58992be965701e64a2e3
2024-08-22 17:48:53 +00:00
Matías Hernández
8c50cdc72a Update Modes List if modes change in the background
Fixes: 361518126
Test: manual
Flag: android.app.modes_ui
Change-Id: Ia00025adbb89ddc9163a9c50582cbcbd524231bb
2024-08-22 19:31:22 +02:00
My Name
e987816eed Gate work profile code path in StylusDeviceController.
If the default notes app setting is disabled for work profile, preference changes should automatically apply to the current user.

Test: Robolectric tests, plus manually check the settings on tangorpro.
Bug: 356361307
Flag: EXEMPT minor bug fix
Change-Id: Ib00a3b8287e1be327c57a47594114dad0232f2d4
2024-08-22 16:39:23 +00:00
Michal Brzezinski
38dd287e01 Launching touchpad tutorial as user 0
It's required to properly intercept touchpad gestures which is happening
in process of user 0. By default activity was launched in the current
user process.
Also targeting sysui package directly with intent.

Bug: 361518125
Test: launch touchpad tutorial with HSUM and see touchpad gestures intercepted
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Change-Id: I904df93758e49a7b10cf6d7a5398550405daafbb
2024-08-22 15:41:39 +00:00
Yuri Lin
4327d5e873 Merge "Add interstitial layout for larger screen devices" into main 2024-08-22 15:37:42 +00:00
Chaohui Wang
29f56b0b54 Clean up EuiccPreferenceController
Bug: 356684993
Flag: EXEMPT clean up
Test: manual - on mobile settings
Change-Id: I44856cf82f97c69d74dd2c8ba6e0c815498a7520
2024-08-22 12:09:32 +08:00
Treehugger Robot
06ee3f96d1 Merge "Refine Wi-Fi privacy settings" into main 2024-08-22 03:05:42 +00:00
Treehugger Robot
bfa4960538 [automerger skipped] Merge "RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity." into sc-dev am: 5d2e307f6e am: 0830cf7fbe -s ours am: 8d6f3c4660 -s ours am: ab7326276b -s ours am: 5b8bb48fc6 -s ours am: d90f00aff4 -s ours am: e34bd50427 -s ours am: 86f9295c86 -s ours am: dcd38287ae -s ours
am skip reason: contains skip directive

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

Change-Id: Idc53ff0957863cbec82b2a6599ebfa11998dd42c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:19:53 +00:00
Daniel Norman
72b2327a32 [automerger skipped] RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity. am: c4963a73f0 am: 41efccc461 -s ours am: 0044ecdb7d -s ours am: 4583de745f -s ours am: 6c194ed71e -s ours am: 47427c64ff -s ours am: 91b4b2c0bd -s ours am: acd7fb4b53 -s ours am: e64cd13fbe -s ours
am skip reason: contains skip directive

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

Change-Id: I34d5ef0cf75ad84c7c3837cab4f56347d1cd2d5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:19:47 +00:00
Treehugger Robot
1dc8b7613c [automerger skipped] Merge "RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity." into sc-dev am: 5d2e307f6e am: 0830cf7fbe -s ours am: 8d6f3c4660 -s ours am: ab7326276b -s ours am: f7ccd80017 -s ours am: f9db36fedf -s ours am: 51dd7de1fe -s ours am: 6c53ddee77 -s ours
am skip reason: contains skip directive

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

Change-Id: I0021545a5d176ee5a819eb4ecbab3e5924892879
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:19:34 +00:00
Daniel Norman
25e62d76e5 [automerger skipped] RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity. am: c4963a73f0 am: 41efccc461 -s ours am: 0044ecdb7d -s ours am: 4583de745f -s ours am: 5f56bce0a2 -s ours am: 7f93229f04 -s ours am: 2526a670a2 -s ours am: 704407f94b -s ours
am skip reason: contains skip directive

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

Change-Id: I333655ba96ddb2e52d1e61d87af0571757b0a15f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:19:29 +00:00
Daniel Norman
e659fc098a [automerger skipped] RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity. am: 1bcc404958 -s ours am: 8024751b9e -s ours am: 1dde2be0b7 -s ours am: 460b6479b3 -s ours am: a19dd67e4a -s ours am: e821db45ad -s ours am: d30b1abe45 -s ours
am skip reason: contains skip directive

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

Change-Id: I4e41d77dba9a2709cdae9183dd61128044840a0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:19:17 +00:00
Daniel Norman
a48c6fd5d3 [automerger skipped] RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity. am: 398ab19923 am: 51113ad5ef am: 1a28bf00d3 -s ours am: 128786e8c6 -s ours am: f0a4e568dd -s ours am: fec7c06edf -s ours
am skip reason: contains skip directive

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

Change-Id: Ib4aeb334638020712d166a28dcb4ada7c3040db5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:18:56 +00:00
Treehugger Robot
dcd38287ae [automerger skipped] Merge "RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity." into sc-dev am: 5d2e307f6e am: 0830cf7fbe -s ours am: 8d6f3c4660 -s ours am: ab7326276b -s ours am: 5b8bb48fc6 -s ours am: d90f00aff4 -s ours am: e34bd50427 -s ours am: 86f9295c86 -s ours
am skip reason: contains skip directive

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

Change-Id: I9eefa29242fd76dc75226628d4a214dbd9d4633e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:18:41 +00:00
Daniel Norman
e64cd13fbe [automerger skipped] RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity. am: c4963a73f0 am: 41efccc461 -s ours am: 0044ecdb7d -s ours am: 4583de745f -s ours am: 6c194ed71e -s ours am: 47427c64ff -s ours am: 91b4b2c0bd -s ours am: acd7fb4b53 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia2914d0e986bfe6de61497c1e32173f259685c02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:18:38 +00:00
Treehugger Robot
6c53ddee77 [automerger skipped] Merge "RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity." into sc-dev am: 5d2e307f6e am: 0830cf7fbe -s ours am: 8d6f3c4660 -s ours am: ab7326276b -s ours am: f7ccd80017 -s ours am: f9db36fedf -s ours am: 51dd7de1fe -s ours
am skip reason: contains skip directive

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

Change-Id: I13bbc4ccdf5d33898882fb337ae03f05002e18a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:18:24 +00:00
Daniel Norman
704407f94b [automerger skipped] RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity. am: c4963a73f0 am: 41efccc461 -s ours am: 0044ecdb7d -s ours am: 4583de745f -s ours am: 5f56bce0a2 -s ours am: 7f93229f04 -s ours am: 2526a670a2 -s ours
am skip reason: contains skip directive

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

Change-Id: I5fcb1540f0726d85dd3bf7e8a6ed9a064dc3218a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:18:21 +00:00
Treehugger Robot
64da452619 [automerger skipped] Merge "RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity." into sc-dev am: 5d2e307f6e am: 0830cf7fbe -s ours am: 8d6f3c4660 -s ours am: ab7326276b -s ours am: 5b8bb48fc6 -s ours am: d90f00aff4 -s ours am: e34bd50427 -s ours am: 1f67a3b801 -s ours
am skip reason: contains skip directive

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

Change-Id: I732ac26435ccfbcb1beb2e1113f1f8375e385e77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:13:29 +00:00
Daniel Norman
74c8603b0b [automerger skipped] RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity. am: c4963a73f0 am: 41efccc461 -s ours am: 0044ecdb7d -s ours am: 4583de745f -s ours am: 6c194ed71e -s ours am: 47427c64ff -s ours am: 91b4b2c0bd -s ours am: adc0b398d6 -s ours
am skip reason: contains skip directive

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

Change-Id: I92c966f306a217bcf84b889412fdd1824be95180
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:13:24 +00:00
Treehugger Robot
d04277a59f [automerger skipped] Merge "RESTRICT AUTOMERGE Stops hiding a11y services with the same package+label as an activity." into sc-dev am: 5d2e307f6e am: 0830cf7fbe -s ours am: 8d6f3c4660 -s ours am: ab7326276b -s ours am: f7ccd80017 -s ours am: f9db36fedf -s ours am: 9ad6ead380 -s ours
am skip reason: contains skip directive

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

Change-Id: I5d02e91b7ac0def8e0961611b5d642e0a17175ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-22 01:13:08 +00:00