Commit Graph

145272 Commits

Author SHA1 Message Date
Haijie Hong
89ea1e5c9a Merge "Remove the extra space above Spatial audio toggle" into main 2024-11-19 09:03:04 +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
David Liu
e2f6b9496e Merge "[Expressive design] SettingsMainSwitchPreference should not in the group" into main 2024-11-19 06:50:18 +00:00
Jacky Wang
83708d4499 [Catalyst] Update PreferenceLifecycleContext.notifyPreferenceChange
Change the signature from metadata to preference key, so that the API
could be used to notify other preferences on the same screen.

NO_IFTTT=Catalyst only

Bug: 332201912
Flag: com.android.settings.flags.catalyst
Test: atest
Change-Id: Ibdf5f9004471d5491a0be1e84365cbe9f136c373
2024-11-19 13:38:06 +08:00
Bill Yi
66303e90fd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I77795d39140dd95309934644a5aefc1f92ce3bfe
2024-11-18 19:42:53 -08:00
Bill Yi
4311cb8c7a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11aed04ed48530606d62498d638ea6ea0e0c5398
2024-11-18 19:41:08 -08:00
shaoweishen
fb6f25ff28 [Keyboard Setting] Rename KeyboardSettingUtils
rename KeyboardSettingUtils to match more about usage.

Bug: 379594195
Test: atest SettingsRoboTests
Flag: NONE, rename file.
Change-Id: If978e7b56ecbdb0b571db5ff34553bbb20f976ee
2024-11-19 03:20:51 +00:00
Zoey Chen
75c4dcb39b Merge "[Settings] Refactor: Add LocalePickerBaseListPreferenceController" into main 2024-11-19 03:14:15 +00:00
Treehugger Robot
d930ec424f Merge "Updated interactors to use repos" into main 2024-11-19 02:12:47 +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
Jaewan Kim
5965a10f60 Merge "Hide Linux terminal if device doesn't meet minimum requirement" into main 2024-11-19 01:09:07 +00:00
Adam Bookatz
69c7f5dac5 Don't let profiles open the UserSettings overflow
Really, profiles aren't expected to open Settings at all. But if they
do somehow, the overflow shouldn't appear.

Bug: 352542820
Flag: EXEMPT bugfix
Test: Try to access the overflow of the work profile by launching its Settings in
adb shell am start --user 10 'com.android.settings/.Settings\$UserSettingsActivity'

Change-Id: I5e4c095cda3e19fa5c63c2c550a526f5da8ec5c1
2024-11-18 15:53:41 -08:00
David Liu
a1d5f2544a [Expressive design] SettingsMainSwitchPreference should not in the group
- SettingsMainSwitchPreference already have rounded corner itself.
- Don't need to have rounded background.

Bug: 377266201
Test: visual test
Flag: EXEMPT update library
Change-Id: I3e336257bcbdb83a8e397bb006a00a33b543aae0
2024-11-18 23:40:11 +00:00
Treehugger Robot
e39b2c18d8 Merge "Revert^2 "Add intent filters for NfcTagAppsSettings"" into main 2024-11-18 23:25:46 +00:00
Matthew DeVore
c4dd7a8288 Add flag for surfacing display topology prototype
This will force the topology pane to show in the displays list UI, and
make the displays list UI accessible from the connected devices
fragment, regardless of the number of actual devices connected.

Once the display topology pane is using real data, this will still be
useful to not skip the display list UI, which currently can only be
shown when there is more than one external display connected.

To turn off, use:
$ adb shell device_config put display_manager com.android.settings.flags.display_topology_pane_in_display_list false

Test: verify "External Display" is always shown in connected devices list
Test: verify displays list is shown when 0 or 1 external display is connected
Bug: b/352648432
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Change-Id: Ic9205c69d9de09e6fb8ae33e17fbf00fe5574447
2024-11-18 12:36:56 -06:00
Zoey Chen
ab0213a7e3 [Settings] Refactor: Add LocalePickerBaseListPreferenceController
Bug: 377664066
Flag: EXEMPT refactor
Change-Id: I2b0c0e9e121d7ab09cb8f627afa34a4f58ec9f9b
2024-11-18 13:55:23 +00:00
Treehugger Robot
8eee5a480d Merge "[expressive design] SimsSection" into main 2024-11-18 11:52:30 +00:00
George Chang
d5e121d582 Revert^2 "Add intent filters for NfcTagAppsSettings"
This reverts commit 581b9b4346.

Reason for revert: CarDeveloperOptionsUnitTests fixed

Change-Id: I65a477b1db837e7e9fd0bce6fb1d2af84a747408
Test: adb shell am start -a android.nfc.action.CHANGE_TAG_INTENT_PREFERENCE
Test: atest CarDeveloperOptionsUnitTests
Bug: 379618293
Bug: 335916336
2024-11-18 11:29:49 +00:00
Treehugger Robot
dfd7e4bc63 Merge "Add flag for migrating UX to Android settings app." into main 2024-11-18 10:53:07 +00:00
Chaohui Wang
a2ccf8979d [expressive design] SimsSection
Bug: 349681531
Flag: EXEMPT bug fix
Test: visual
Change-Id: I2d38ad81ce93d47819fa82d46f1c11a9b8c9271d
2024-11-18 18:45:53 +08:00
Chaitanya Cheemala (xWF)
c1d2486656 Merge "Revert "Add intent filters for NfcTagAppsSettings"" into main 2024-11-18 10:38:44 +00:00
Chaitanya Cheemala (xWF)
581b9b4346 Revert "Add intent filters for NfcTagAppsSettings"
This reverts commit 2a41717baf.

Reason for revert: Likely culprit for b/379618293  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I8988203a5bfa7a8e000e7833bca812d04ba30d12
2024-11-18 09:56:41 +00:00
tomhsu
9d82dc346d Add flag for migrating UX to Android settings app.
Flag:com.android.settings.flags.satellite_oem_settings_ux_migration
Bug: 378781925
Test: make pass
Change-Id: I6f409817a6fb508131e0f787aca4fbfa7e2e5494
2024-11-18 09:14:12 +00:00
Treehugger Robot
e49f779d96 Merge "Add intent filters for NfcTagAppsSettings" into main 2024-11-18 07:15:44 +00:00
Wenyu Zhang
bf47e4419d Merge "Skip user restriction check on desktop" into main 2024-11-18 06:30:14 +00:00
Treehugger Robot
d437a1f984 Merge "[Catalyst] Sync APM preference key value" into main 2024-11-18 06:29:04 +00:00
Treehugger Robot
17c02a69bb Merge "Make final confirmation of dialog only shows in-call state" into main 2024-11-18 06:19:47 +00:00
Weng Su
e24189df08 [Catalyst] Sync APM preference key value
Bug: 375925972
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: Manual testing
atest -c AirplaneModePreferenceControllerTest \
         AirplaneModePreferenceControllerComponentTest

Change-Id: Ibd1e6af39afa768ef40d280ca97fb39ce38bd1c0
2024-11-18 13:14:02 +08:00
Haijie Hong
49045fb361 Remove the extra space above Spatial audio toggle
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I56bd6438e9f6589f388c0355460e6c5ba9cb2823
2024-11-18 13:08:13 +08:00
Xinyi Mao
9a18d2f170 Merge "Remove nested PreferenceCategory in Battery Usage page." into main 2024-11-18 04:56:11 +00:00
tomhsu
26c16784d4 Make final confirmation of dialog only shows in-call state
- Add a condition of in-call state to restrict dialog.

Flag: EXEMPT bug fix
Fix: b/374355096
Test: atest passed.
Test: Manual test passed.
Change-Id: I8d8505870973acbf57db8d3c5032619a31f9eb4d
2024-11-18 04:23:57 +00:00
Wenyu Zhang
a28c5e1ca5 Skip user restriction check on desktop
The Catalyst user restriction check crashes the Settings app on desktop
device. Skip the check for desktop device for now since this crash
blocks many development/testing work.

Change-Id: I27e3db48ce175381917681fe517d63bf6b4aede2
Bug: b/379130874, b/377600992
Test: verify locally on desktop device, presubmit
Flag: EXEMPT_bug fix
2024-11-18 03:21:28 +00:00
mxyyiyi
4c5f8481bd Remove nested PreferenceCategory in Battery Usage page.
https://screenshot.googleplex.com/83LwysPKMCRoRoG

Bug: 349652542
Test: atest BatteryUsageBreakdownControllerTest
Flag: EXEMPT for simple fix
Change-Id: If97b5e3de9757b814ad72aa47f6491d29106b8a3
2024-11-18 11:09:11 +08:00
Jacky Wang
ec1017c0bf Merge "Revert "Create a config flag for the new Screen Timeout settings screen with Dashboard style settings"" into main 2024-11-17 17:56:17 +00:00
Jacky Wang
f487880ce0 Revert "Create a config flag for the new Screen Timeout settings screen with Dashboard style settings"
This reverts commit 5aac4357d9.

Reason for revert: already has catalyst_screen_timeout flag

Change-Id: I1f87a6d7b06c8e506dfdf0d036db75c0ceb84bd1
2024-11-17 06:24:56 +00:00
Jacky Wang
eb37f169a3 Merge "[Catalyst] Support Getter API for settings service" into main 2024-11-17 05:53:58 +00:00
George Chang
2a41717baf Add intent filters for NfcTagAppsSettings
This is required by NfcAdapter.ACTION_CHANGE_TAG_INTENT_PREFERENCE
to expose shortcuts for tag apps.

Flag: android.nfc.nfc_check_tag_intent_preference
Test: adb shell am start -a android.nfc.action.CHANGE_TAG_INTENT_PREFERENCE
Bug: 335916336
Change-Id: Idee7ded0f8b07ea6ff38dd646c60798847abc31a
2024-11-16 15:42:05 +00:00
Jacky Wang
7448b324fa Merge changes from topic "catalyst-ScreenTimeout" into main
* changes:
  [Catalyst] Migrate "Screen attention"
  [Catalyst] Support RadioButtonPickerFragment
  [Catalyst] Add initial ScreenTimeoutScreen
  Refactor duplicate isAdaptiveSleepSupported
2024-11-16 06:17:52 +00:00
Jacky Wang
e635f1e0ed [Catalyst] Support Getter API for settings service
NO_IFTTT=Catalyst only

Bug: 373895596
Flag: com.android.settings.flags.catalyst_service
Test: devtool
Change-Id: I367f350d2192d1285bf355a9e45c2d9bec11fa44
2024-11-16 08:06:28 +08:00
Dongzhuo Zhang
f7668f4d06 Merge "Add OnAccountsUpdateListener in ContactsStorageSettings to refresh the account when there's account change." into main 2024-11-15 21:37:25 +00:00
Jacky Wang
dec8370d25 [Catalyst] Migrate "Screen attention"
Bug: 368359967
Flag: com.android.settings.flags.catalyst_screen_timeout
Test: devtool
Change-Id: I3c990e8cb6d1414395408b884616574cd6130f81
2024-11-16 03:42:57 +08:00
Jacky Wang
3a20528ae4 [Catalyst] Support RadioButtonPickerFragment
Bug: 368359967
Flag: com.android.settings.flags.catalyst_screen_timeout
Test: manual
Change-Id: Ibd3a1c52b152054bf01e37848785c5bda588df5f
2024-11-16 03:42:57 +08:00
Jacky Wang
e6ef4c2443 [Catalyst] Add initial ScreenTimeoutScreen
Bug: 368359967
Flag: com.android.settings.flags.catalyst_screen_timeout
Test: atest
Change-Id: I13d23e4e5164c3dd4a4a01b00b854642f748b020
2024-11-16 03:42:47 +08:00
Chris Antol
0d585fc4ae Merge "Add Special App Access page for WRITE_SYSTEM_PREFERENCES permission" into main 2024-11-15 18:33:59 +00:00
Jacky Wang
8d3be11418 Refactor duplicate isAdaptiveSleepSupported
Bug: 368359967
Flag: EXEMPT refactor
Test: atest
Change-Id: I41d465f67fb50e83d9bd23af54597afb6bd467cf
2024-11-16 01:49:52 +08:00
Andreea Costinas
a3cdf47415 Merge "Relax WiFi cert installation restrictions in HSUM mode" into main 2024-11-15 09:08:46 +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
Zoey Chen
30a4a8c521 Merge "[Settings] Refactor: Add RegionAndNumberingSystemPickerFragmet" into main 2024-11-15 04:59:23 +00:00
Zoey Chen
cbc49e787d [Settings] Refactor: Add RegionAndNumberingSystemPickerFragmet
Bug: 377664066
Flag: EXEMPT refactor
Change-Id: Ib485d2763e0ce17473c8442ba4626802689c7b78
2024-11-15 03:07:54 +00:00