Commit Graph

146544 Commits

Author SHA1 Message Date
Matthew DeVore
f1fec80d25 Split up DisplayTopology.kt into 1-per-class files
This avoids a file naming conflict with DisplayTopology.java in
DisplayManager, and splits a large file. It was trivial to do since the
file had 3 top-level classes.

Test: local build and SQ
Test: atest DisplayTopologyPreferenceTest.kt
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Change-Id: I4adc8167ab01b39a6da49f95f0cd072acec67ad4
2025-02-11 02:55:23 +00:00
Matthew DeVore
da0bd7b412 Detect when user wanted to drag vs. click
In order to avoid sending a new topology to DisplayManager
unnecessarily, which could cause some disruptive visual effect, don't do
anything if the drag was both (a) brief and (b) did nto deviate from
start position.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: DisplayTopologyPanePreferenceTest
Test: manual - quickly drag as few pixels as possible and verify the block moved back after drag, with no scale change
Bug: b/352648432
Change-Id: I29ffb51c54c9dbac970149cffd86a8027f0a42f5
2025-02-11 01:52:28 +00:00
Matthew DeVore
a7caa23deb Merge "Show topology pane in per-display fragment" into main 2025-02-10 09:47:44 -08:00
Tomasz Wasilczyk
f38579f786 Merge "Fix settings crashes on missing Telephony features" into main 2025-02-10 09:20:25 -08:00
Yiyi Shen
ef77d14185 Merge "[Audiosharing] Set temp bond metadata for just bonded lea buds in sharing" into main 2025-02-10 01:52:41 -08:00
Jack Yu
94ecf1f216 Merge "Removed the flag enable_modem_cipher_transparency_unsol_events" into main 2025-02-10 00:47:42 -08:00
YK Hung
3d6a321aac Merge "[A11y] Update symbol from '>' to '->' to improve talkback announcement." into main 2025-02-09 23:53:43 -08:00
Shraddha Basantwani
6dfa9e206d [automerger skipped] Merge "Add biometric authentication for package modification" into tm-qpr-dev am: f459d4073b -s ours am: 1182123e70 -s ours am: 31ec831661 -s ours am: f62bf8007c -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I99cb4422d64fe54de0fafd8bab0c733c4c203d38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 23:21:46 -08:00
Shraddha Basantwani
ce0a83862f [automerger skipped] Add biometric authentication for package modification am: 0634208161 -s ours am: fb65cbfd6e -s ours am: 9a444e43f7 -s ours am: 14efecb346 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I7bbaa65f7b1d0dc9963b6846512980e75201b48f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 23:21:36 -08:00
Shraddha Basantwani
f62bf8007c [automerger skipped] Merge "Add biometric authentication for package modification" into tm-qpr-dev am: f459d4073b -s ours am: 1182123e70 -s ours am: 31ec831661 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I7e65c0d37e59318e7b0f4ecb7ecd024afcc86e92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:57:06 -08:00
Shraddha Basantwani
14efecb346 [automerger skipped] Add biometric authentication for package modification am: 0634208161 -s ours am: fb65cbfd6e -s ours am: 9a444e43f7 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I38d5c28472362c35768e2b62eff8f0a20a3fe07a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:57:01 -08:00
Shraddha Basantwani
f27c0f9e6c [automerger skipped] Merge "Add biometric authentication for package modification" into tm-qpr-dev am: f459d4073b -s ours am: 1182123e70 -s ours am: 37ea2bcd57 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I50456e8dec0e24cf0e05cef3dfa7bbc91a83b102
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:56:51 -08:00
Shraddha Basantwani
3ea69d9d51 [automerger skipped] Add biometric authentication for package modification am: 0634208161 -s ours am: fb65cbfd6e -s ours am: 9958349551 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I6db240ff2d04501c4bd2c248f75de860b0774f0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:56:41 -08:00
mxyyiyi
2782cc9d21 [A11y] Update symbol from '>' to '->' to improve talkback announcement.
Fix: 319172554
Test: talkback
Flag: EXEMPT for res update
Change-Id: I35141587492f437170fe2a99b93992205d79976e
2025-02-10 14:47:35 +08:00
Shraddha Basantwani
eaee1eda03 [automerger skipped] Merge "[SPA] Add biometric authentication for package modification" into udc-dev am: 1c5b48c8df -s ours am: dc3b960f44 -s ours am: 066570ac4f -s ours
am skip reason: skipped by basantwani

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

Change-Id: Idc9e617d0ef9d6d508d784a950088db3d96f77c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:32:51 -08:00
Shraddha Basantwani
37ea2bcd57 [automerger skipped] Merge "Add biometric authentication for package modification" into tm-qpr-dev am: f459d4073b -s ours am: 1182123e70 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I8df6ff7222d1e869cd84ed220c547da97cf7cf1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:32:48 -08:00
Shraddha Basantwani
9958349551 [automerger skipped] Add biometric authentication for package modification am: 0634208161 -s ours am: fb65cbfd6e -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I5fc2e7a9e5e51b16248059b0e593b319df4b3606
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:32:42 -08:00
Shraddha Basantwani
31ec831661 [automerger skipped] Merge "Add biometric authentication for package modification" into tm-qpr-dev am: f459d4073b -s ours am: 1182123e70 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I75f90e49d739e7ace94404ee7f68e9bb278b1d49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:31:13 -08:00
Shraddha Basantwani
9a444e43f7 [automerger skipped] Add biometric authentication for package modification am: 0634208161 -s ours am: fb65cbfd6e -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I691bc0d2658c29ca6c81cb886f9ca428cb49fcf3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:31:09 -08:00
Shraddha Basantwani
066570ac4f [automerger skipped] Merge "[SPA] Add biometric authentication for package modification" into udc-dev am: 1c5b48c8df -s ours am: dc3b960f44 -s ours
am skip reason: skipped by basantwani

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

Change-Id: I6bf17f72bd4d18e40d3133c45b9207befa976f46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:09:06 -08:00
Shraddha Basantwani
1182123e70 [automerger skipped] Merge "Add biometric authentication for package modification" into tm-qpr-dev am: f459d4073b -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I644e45678227eeb8868f448c6781a6b814e7bda7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:08:51 -08:00
Shraddha Basantwani
fb65cbfd6e [automerger skipped] Add biometric authentication for package modification am: 0634208161 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 27315b3b92 is already in history

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

Change-Id: I4a7745efe000de2fb5c3df3323b88df78804333e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 22:08:44 -08:00
Shraddha Basantwani
f459d4073b Merge "Add biometric authentication for package modification" into tm-qpr-dev 2025-02-09 21:48:53 -08:00
Shraddha Basantwani
dc3b960f44 [automerger skipped] Merge "[SPA] Add biometric authentication for package modification" into udc-dev am: 1c5b48c8df -s ours
am skip reason: skipped by basantwani

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

Change-Id: Iac0fba3656ccfc87eddef86bfcaaf838102c1fe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-09 21:43:57 -08:00
Shraddha Basantwani
0634208161 Add biometric authentication for package modification
Add an extra step of Lock Screen for disabling, force-stopping or
uninstalling updates for protected packages

Bug: 352504490, 344865740
Test: atest AppButtonsPreferenceControllerTest
Flag: EXEMPT High Security Bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:32e388ad3199de3c062bb2e2db5d3239f934d0eb)
Merged-In: I0c494e307b02229d751de118abcc89e4e61a6861
Change-Id: I0c494e307b02229d751de118abcc89e4e61a6861
2025-02-09 20:25:50 -08:00
Treehugger Robot
50e464f3da Merge "[Catalyst] Implement metrics/tags for Settings Catalyst" into main 2025-02-09 16:55:47 -08:00
Treehugger Robot
b2c1cf22bd Merge "[Catalyst] Implement metrics/tags for "Remove Animation"" into main 2025-02-09 16:55:12 -08:00
Tomasz Wasilczyk
6a311b9f5b Fix settings crashes on missing Telephony features
Bug: 310710841
Test: open settings app
Flag: EXEMPT bugfix
Change-Id: Ic96585fb34902de54ec838c5692673b33edd2c27
2025-02-08 21:34:21 -08:00
Ben Lin
1493a261d7 Merge "Update DesktopMode API name." into main 2025-02-08 10:48:00 -08:00
Jacky Wang
ba3dbd9d12 [Catalyst] Add launch intent for Battery Saver screen
Fix: 395163443
Flag: com.android.settings.flags.catalyst
Test: devtool
Change-Id: Idfc0300ffe8f5e944fb39425280fff20b1e2c16d
2025-02-08 18:02:06 +08:00
Sunny Shao
5700104b92 [Catalyst] Implement metrics/tags for "Remove Animation"
NO_IFTTT=Catalyst only

Bug: 394002861
Flag: com.android.settings.flags.catalyst
Test: devtool
Change-Id: I2891c31de419294324e8c7e17cd191a370cfa305
2025-02-08 08:57:30 +00:00
Sunny Shao
e9f0fdcd66 [Catalyst] Implement metrics/tags for Settings Catalyst
NO_IFTTT=Catalyst only

Bug: 394002861
Flag: com.android.settings.flags.catalyst
Test: devtool
Change-Id: Ia879883c3f29cd7ac286b431680d66ab52e87db0
2025-02-08 08:37:35 +00:00
Victor Li
cc2b6ab418 Merge "Set a value in Settings.Global to indicate if user is on audio sharing dashboard fragment" into main 2025-02-07 23:03:51 -08:00
Chelsea Hao
1415a784b9 Merge "Add onMediaButtonEvent to handle button clicks." into main 2025-02-07 22:44:24 -08:00
Victor Li
3ac6ab440c Set a value in Settings.Global to indicate if user is on audio sharing dashboard fragment
Change-Id: I081db5db644cdc42294063783c29a93914e12328
BUG: 394810407
2025-02-07 21:14:23 -08:00
Jacky Wang
02c378757f [Catalyst] Provide GetValueResult.metadata whenever possible
Fix: 394975570
Flag: com.android.settingslib.flags.settings_catalyst
Test: atest
Change-Id: Ifbe92902e0337f00d6b2154c7bad9fda460a4a78
2025-02-08 12:51:01 +08:00
chelseahao
877387edb0 Add onMediaButtonEvent to handle button clicks.
Test: atest
Bug: b/384381891
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: If8e974a6d021e23a7f06d4476eb94153945c50fc
2025-02-08 03:18:24 +00:00
Jacky Wang
089e6378b5 [Catalyst] Take write permit into account for SettingsPreferenceMetadata.writable
NO_IFTTT=Catalyst only

Fix: 394973168
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: I4c09ab50d3a08ab50f4fced29ea70bb50b14e5d7
2025-02-08 10:12:45 +08:00
Treehugger Robot
60c6d8ead5 Merge "Support customization for biometrics SafeSourceIssue" into main 2025-02-07 16:05:30 -08:00
Ronald Braunstein
1d81f30656 Merge "Remove palanki@google.com from src/com/android/settings/location/OWNERS" into main am: f888596ac5 am: 97fef8e771
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2854008

Change-Id: I54be3b03a5475f3850732f04f6c3fb5e89e1a4cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-07 16:03:08 -08:00
Ronald Braunstein
e0ce9c145f Merge "Remove jaggies@google.com from src/com/android/settings/biometrics/OWNERS" into main am: da41204d7e am: cfb5778952
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2957652

Change-Id: I155820b00f33821020bcb5b2c4baa5d27e65298b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-07 16:01:25 -08:00
Jack Yu
a8db4d190e Removed the flag enable_modem_cipher_transparency_unsol_events
Removed the 24Q3 flag enable_modem_cipher_transparency_unsol_events

Bug: 283336425
Test: atest FrameworksTelephonyTests
Test: Basic telephony functionality tests
Flag: EXEMPT flag cleanup
Change-Id: I08e206d721f99f9422a117dbe009561b434a43bf
2025-02-07 15:41:18 -08:00
Ronald Braunstein
97fef8e771 Merge "Remove palanki@google.com from src/com/android/settings/location/OWNERS" into main am: f888596ac5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2854008

Change-Id: I0a675300c7170a91a539d367dff9b5f7b4b071d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-07 15:38:39 -08:00
Ronald Braunstein
cfb5778952 Merge "Remove jaggies@google.com from src/com/android/settings/biometrics/OWNERS" into main am: da41204d7e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2957652

Change-Id: I6712313387b969490fa09a38057fa27363a847d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-07 15:37:07 -08:00
Ronald Braunstein
f888596ac5 Merge "Remove palanki@google.com from src/com/android/settings/location/OWNERS" into main 2025-02-07 15:14:55 -08:00
Ronald Braunstein
da41204d7e Merge "Remove jaggies@google.com from src/com/android/settings/biometrics/OWNERS" into main 2025-02-07 15:12:07 -08:00
Treehugger Robot
b0a4c54cc3 Merge "Removed the tests with flags disabled" into main 2025-02-07 14:21:26 -08:00
Yuhan Yang
92754decdb Merge "Add summary for autoclick cursor size row" into main 2025-02-07 14:13:50 -08:00
Yuhan Yang
b968400c13 Merge "Add Autoclick cursor area size settings dialog" into main 2025-02-07 14:12:58 -08:00
Jack Yu
068fbc9860 Removed the tests with flags disabled
Flags are enabled already. The flag disabled tests should be
removed.

Fix: 395131189
Test: atest CellularSecurityNotificationsPreferenceControllerTest
Flag: EXEMPT test fix
Change-Id: I40d5c56956b714ba563cb545807deb1dee9e8d8a
2025-02-07 13:37:25 -08:00