Commit Graph

1304 Commits

Author SHA1 Message Date
Treehugger Robot
acd833886f Merge "Persist dev option reboot dialog on rotation." into main 2025-02-20 02:37:32 -08:00
alinazaidi
cf33160dc5 Persist dev option reboot dialog on rotation.
Use a ViewModel to store reboot dialog fragment state on rotations.

Test: locally verified rotations on few dev options that use the reboot fragment
Test: atest
com.android.settings.development.RebootConfirmationDialogFragmentTest
--iterations 25 (Passed)
Bug: 356273849
Flag: EXEMPT bug fix

Change-Id: I154170ea5fa91bcbec32af43853c5f99f8e8253d
2025-02-20 01:25:12 -08:00
Treehugger Robot
1c7a5041a1 Merge "Post 16KB notification for all users" into main am: 0414af8d0d am: 8971b66a8d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3494927

Change-Id: Ia6707aa93c838e5c6f5245ecb56362ceea42f6e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 17:56:55 -08:00
Pawan Wagh
64954821d3 Post 16KB notification for all users
PageAgnostic mode notification doesn't show up when
user switch happens. Post the notification for all users

Test: Enable16KB mode and switch users
Bug: 397319900
Change-Id: Ia32f42223075eb0d91034f82580c80b0879dda06
2025-02-18 22:09:14 +00:00
Pierre Barbier de Reuille
bf50c0baef Create new sections for developer options
To group desktop experience and window management options

Test: Build and check
Bug: 390625230
Flag: EXEMPT (refactor)

Change-Id: Ie076501da68045fa5f1098423a42d32f16a02838
2025-02-13 15:18:39 +00:00
Pragya Bajoria
ea1cad3776 Merge "Rename DesktopMode API back" into main 2025-02-13 05:36:02 -08:00
Treehugger Robot
8efba3fee5 Merge "Do not disable LE audio offload as the developer option being disabled" into main 2025-02-12 20:25:04 -08:00
Alice Kuo
4251ebecca Do not disable LE audio offload as the developer option being disabled
The logic wrong to check the a2dp offload disable status to disable LE
audio offload together as the user turn off the developer option. Change
to use the support status, and reset the state to align the support
status.

Bug: 395725497
Fix: 395725497
Flag: EXEMPT, trivial bug fix
Test: Manual turn off developer option to check the status change
Test: atest SettingsRoboTests:com.android.settings.development.BluetoothLeAudioHwOffloadPreferenceControllerTest
Change-Id: I59d3e378495c90f007b46f05b74fdaf19d1520ce
2025-02-12 13:56:27 -08:00
Ben Lin
32f7568cd4 Rename DesktopMode API back
Also fix some indentation.

Bug: 395826065
Test: atest, Manual
Flag: EXEMPT bugfix
Change-Id: I50d30a8508d387e36981fb3bdd13b99480baedcf
2025-02-12 21:31:07 +00:00
Ashley Newson
6fc2502a7b Merge "Add developer settings link to WebView DevTools" into main 2025-02-12 02:28:26 -08:00
Ben Lin
a20685eb3c Update DesktopMode API name.
Bug: 384568161
Test: Build
Flag: EXEMPT bugfix
Change-Id: Idc953d196ac7cf4ebcc82000d0c4be9fab893f9a
2025-02-05 02:53:30 +00:00
Treehugger Robot
55b0bcd8cb Merge "Allow system services to be optional" into main 2025-01-31 10:04:14 -08:00
Ashley Newson
8de98b0305 Add developer settings link to WebView DevTools
Adds a convenience button in Android's developer settings to launch
WebView's DevTools UI. This avoids the need to use ADB shell or to
follow links from another app (such as WebView Shell or an unstable
WebView version) to access the stable WebView DevTools.

Bug: 371520781
Test: atest SettingsRoboTests:com.android.settings.development.WebViewDevUiPreferenceControllerTest
Flag: EXEMPT new entry point to a feature which already exists
Co-Authored-By: Adam Walls <avvall@google.com>
Change-Id: I0c3d628b2833aa0b59aae091215e8aa660f5bfe8
2025-01-31 14:06:49 +00:00
Pierre Barbier de Reuille
0a49a01210 Update when Desktop Mode Dev Option is enabled by default.
The new condition requires accessing the context.

Bug: 382238347
Flag: EXEMPT Bug fix
Test: atest DesktopModePreferenceControllerTest
Test: Build and test on devices with only the dev option enabled.
Change-Id: If9cacea948ccee2bc5a5b4fae07f3ad69efb0af2
2025-01-29 10:35:37 +00:00
Treehugger Robot
fe44ea6c87 Merge "Add the new Desktop Experience dev options" into main 2025-01-24 16:27:43 -08:00
Pawan Wagh
192da620e6 Merge "Updating the notification ID " into main am: 9d451341a0 am: 8102d256b4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3453239

Change-Id: I57a0fbc3fac166c9b6fa38ff0b888b6243145a81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-24 15:41:12 -08:00
Alex Stetson
99f01f7e7a Allow system services to be optional
Some Android systems may not have certain system services (particularly the VirtualMachineManager). If this is the case, disable the preference rather than requiring the service and crashing the Settings app.

Bug: 388221800
Test: manual
Flag: NONE bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5a594828d7e148ac98b077591e8050e424b54966)
Merged-In: I761054caebe3e846f5c6c76e2818662aad2cb511
Change-Id: I761054caebe3e846f5c6c76e2818662aad2cb511
2025-01-24 00:22:14 -08:00
Pierre Barbier de Reuille
8a42cd7171 Add the new Desktop Experience dev options
This option, when available, replaces the enable freeform ones.

Bug: 390625230
Bug: 389092752
Test: atest DesktopExperiencePreferenceControllerTest
Test: atest DesktopModeSecondaryDisplayPreferenceControllerTest
Test: atest DesktopModePreferenceControllerTest
Test: atest FreeformWindowsPreferenceControllerTest
Flag: com.android.window.flags.show_desktop_experience_dev_option
Change-Id: Ib2eaa99fab1fbcae6ed9afa997cfe92676a75c70
2025-01-23 11:01:11 +00:00
Jacky Wang
f29c38b7c5 Fix potential NPE in DevelopmentSettingsDashboardFragment
Fix: 364044354
Flag: EXEMPT bugfix
Test: N/A

Change-Id: If4809b44873c620c615696d697a9f2349dbe7890
2025-01-23 10:53:17 +08:00
Pawan Wagh
65263376f7 Updating the notification ID
PageAgnosticNotificationService - updating notification id to avoid the notification being dismissed accidentally by other notifications. ID used is the bug id where this was reported.

Change-Id: I267eed1d14158f06ea688a48c65be209993b869d
Test: atest Enable16KbTest
Bug: 388678898
2025-01-17 11:24:39 -08:00
Jakub Rotkiewicz
1dda4f5526 24Q4: Removal of a2dp_offload_codec_extensibility_settings
Bug: 323319530
Fix: 323319530
Flag: EXEMPT removing com.android.settings.development.a2dp_offload_codec_extensibility_settings
Test: atest SettingsRoboTests
Merged-In: If9c710c0aaed7326b32dd2e7d5f3109de4047b97
Change-Id: I3fad2d0b5b356afd3524ef9ddc0cf1ccbaed9eb4
2025-01-15 07:52:37 +00:00
Jakub Rotkiewicz
672fcd51ab developer settings: remove unused a2dp Preference
Bug: 329809288
Flag: EXEMPT - unused code
Test: m -j
Merged-In: Ibd526fffddf5ea545afc437a5daee12bb1cf8746
Change-Id: Ie219247e1fd0fd92407c04d5d775a685a13467c4
2025-01-15 07:49:22 +00:00
Jakub Rotkiewicz
2c869d337c 24Q4: Removal of a2dp_offload_codec_extensibility_settings
Bug: 323319530
Fix: 323319530
Flag: EXEMPT removing com.android.settings.development.a2dp_offload_codec_extensibility_settings
Test: atest SettingsRoboTests
Change-Id: If9c710c0aaed7326b32dd2e7d5f3109de4047b97
2025-01-15 07:43:45 +00:00
Jakub Rotkiewicz
6b7a5073f0 developer settings: remove unused a2dp Preference
Bug: 329809288
Flag: EXEMPT - unused code
Test: m -j
Change-Id: Ibd526fffddf5ea545afc437a5daee12bb1cf8746
2025-01-10 12:42:25 +00:00
Treehugger Robot
d7e1504cfe Merge "Allow system services to be optional" into main 2025-01-09 09:13:33 -08:00
Alex Stetson
5a594828d7 Allow system services to be optional
Some Android systems may not have certain system services (particularly the VirtualMachineManager). If this is the case, disable the preference rather than requiring the service and crashing the Settings app.

Bug: 388221800
Change-Id: I761054caebe3e846f5c6c76e2818662aad2cb511
Test: manual
Flag: NONE bugfix
2025-01-07 06:42:39 -08:00
Johannes Gallmann
05f8420d87 Clean up predictive_back_system_anims flag
Bug: 320510464
Test: Presubmit
Test: Manual, i.e. verified system animations enabled on device
Flag: EXEMPT flag cleanup
Change-Id: Ie3b9ecd3355fcf86a1b4f597d45635b3fc794be9
2025-01-03 14:30:26 +00:00
Treehugger Robot
7c861dc669 Merge "Hide Linux terminal if VM isn't supported" into main am: c8e78dc149 am: bf33cb8c33
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3428339

Change-Id: Ica0388cb13627e2920ab2876ab38c2c070396919
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-28 08:18:17 -08:00
Treehugger Robot
c8e78dc149 Merge "Hide Linux terminal if VM isn't supported" into main 2024-12-28 07:11:08 -08:00
Solti Ho
288aa8b183 Merge "Disable ANGLE as system GLES dev option" into main 2024-12-23 19:25:49 -08:00
Treehugger Robot
b514c11cc9 Merge "Reduce the Terminal app storage requirement from 128GB to 64GB." into main am: d16d627a71 am: 7b45904c6b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3404569

Change-Id: I488e748dfcf6a2e034cb86925ff112a354f82c58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-23 11:17:15 -08:00
Treehugger Robot
d16d627a71 Merge "Reduce the Terminal app storage requirement from 128GB to 64GB." into main 2024-12-23 10:20:45 -08:00
Solti
5a3cfb9f0c Disable ANGLE as system GLES dev option
This change prevents the feature from being inadvertently exposed to the
wider user base while it undergoes further refinement and stabilization
for a smoother user experience.

Test: atest SettingsUnitTests:com.android.settings.development.graphicsdriver.GraphicsDriverEnableAngleAsSystemDriverControllerJUnitTest
Test: locally build Husky and confirm the dev option is disabled, even
with the "debug.graphics.angle.developeroption.enable" prop set.
Flag: EXEMPT bugfix
Bug: b/384047927

Change-Id: I160840a25d38bf305871d7e146745df0d56f0227
2024-12-20 23:06:49 +00:00
Jaewan Kim
614074e5c7 Hide Linux terminal if VM isn't supported
Bug: 385216798
Test: atest
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: I06fe52cf877deb3cd9ebc61af1579931b97d7766
2024-12-21 00:31:55 +09:00
Henri Chataing
4918001a03 Merge "Update the cache of a2dp config before writing config." into main am: 18eac4ef27 am: bde00faa0c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3350514

Change-Id: Id958e2cfc3802dda11c26b9b21a8509a8bbd0473
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-18 09:13:15 -08:00
Henri Chataing
18eac4ef27 Merge "Update the cache of a2dp config before writing config." into main 2024-12-18 08:17:34 -08:00
dakinola
e657ae66da Add Shade display position dev option
Adding new developer option which update the policy for shade location when connected to an external display

Bug: 379278693
Test: manual testing
Flag: com.android.systemui.shade_window_goes_around
Change-Id: I1d9886f76983972dc12073326a89d928af7be475
2024-12-12 06:12:17 -08:00
Saswat Padhi
0937b6de17 Reduce the Terminal app storage requirement from 128GB to 64GB.
Bug: 366374130

Change-Id: If22d5388a6e58076626c1019f7f909398c61ccfd
2024-12-11 00:55:46 +00:00
Jeongik Cha
74fea8cce2 Merge "Fix storage requirement for Linux terminal" into main am: cc7e4e5821 am: c15d15953b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3364326

Change-Id: I5de747e44b196889676a099204f51f2bff8432e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-19 23:41:39 +00:00
Jeongik Cha
c15d15953b Merge "Fix storage requirement for Linux terminal" into main am: cc7e4e5821
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3364326

Change-Id: Icee4ae8bc9e67b485caebc1e67e95e9643104d23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-19 23:19:12 +00:00
Jeongik Cha
294b41a883 Fix storage requirement for Linux terminal
getPrimaryStorageSize rounds up size by GB, not GiB

Bug: 366374130
Change-Id: Idf43c5cee41172d763b6c271042317d151d41a38
Test: build and run
2024-11-19 07:43:31 +00:00
Jaewan Kim
b8b4e47d6b Merge "Hide Linux terminal if device doesn't meet minimum requirement" into main am: 5965a10f60 am: ea27253a31
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3350252

Change-Id: I7ab9bad6a2c396c024e99c4a5cec8db67cdbaa02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-19 01:57:35 +00:00
Jaewan Kim
ea27253a31 Merge "Hide Linux terminal if device doesn't meet minimum requirement" into main am: 5965a10f60
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3350252

Change-Id: I2387ed8be5c63cd75c29a506d170fb916399cff2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-19 01:34:26 +00:00
alisa.li
2eb14f53bb Update the cache of a2dp config before writing config.
The created config based on mBluetoothA2dpConfigStore is invalid, so we need to update the cache before writing config.

Bug: 3177357791
Test: manual
Change-Id: I47774f035509f0cb533209e4e31e7477d5b8e516
2024-11-15 07:26:45 +00:00
Jaewan Kim
a6334bc0a3 Hide Linux terminal if device doesn't meet minimum requirement
Bug: 366374130
Test: Manually, atest
Change-Id: Id0ef47099b3fab41175bfae3d0eaf61037ba82ff
2024-11-15 11:10:25 +09:00
Xin Li
cfa19e11a6 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: Ie90e7495dd4a134538bae6e3e08eea0d02134b14
Change-Id: I20517e9ee410e95f2cbeb1247c0c0288ed9f006f
2024-11-11 21:38:40 -08:00
Jaewan Kim
a1abfdcaca Merge "Clear Linux terminal app when disabled" into main am: 005ee9761b am: c4d90bf739
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3332054

Change-Id: Ifc0064dd155a9b4d5faf55d496f6cba3ef097251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-12 04:46:29 +00:00
Jaewan Kim
ea0b5d5950 Clear Linux terminal app when disabled
Bug: 374032310
Test: Manual, T/H
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Id56f98cf90b0598111baa3096b1b81307ebb99a3
2024-11-12 01:19:17 +00:00
Treehugger Robot
0e69ab1a0d Merge "Make Linux terminal option profile aware" into main am: 9089bca7d1 am: e3fe97469e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3332053

Change-Id: I8ea7ac95529afd0033b654d6144b012efcddf9d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-11 19:00:44 +00:00
Treehugger Robot
9089bca7d1 Merge "Make Linux terminal option profile aware" into main 2024-11-11 17:57:37 +00:00