Commit Graph

144270 Commits

Author SHA1 Message Date
Treehugger Robot
bd76128c25 Merge "[Catalyst] Location screen migration" into main 2024-10-18 12:10:50 +00:00
Jacky Wang
cc693e950f Enable catalyst test for PowerUsageSummaryScreenTest
Bug: 372774754
Flag: EXEMPT test
Test: atest
Change-Id: I5b35b0ff3416dde4781b7874f5bbc12f6b3f2475
2024-10-18 19:55:14 +08:00
Jason Chiu
99488fd104 [Catalyst] Location screen migration
- Add a flag for the migration
- Add the skeleton of the screen

Test: atest LocationScreenTest
Bug: 368360458
Flag: com.android.settings.flags.catalyst_location_settings
Change-Id: Id8b7d748210d1cacf99e3d61236706029b862289
2024-10-18 18:56:37 +08:00
Fan Wu
46c45023d2 Merge "Rename context variable and format code" into main 2024-10-18 10:33:41 +00:00
Jason Chiu
8b66033c96 Merge "[Catalyst] SIMs screen migration" into main 2024-10-18 10:19:47 +00:00
Treehugger Robot
4f63ee455c Merge "[Catalyst] Bluetooth screen migration" into main 2024-10-18 10:17:29 +00:00
Fan Wu
7ae49a51ea Rename context variable and format code
Bug: 372774754
Test: atest
Flag: EXEMPT minor fix
Change-Id: I6cb128afa54613b7c7dba97749f21976ef82a960
2024-10-18 09:15:55 +00:00
Jason Chiu
97f2c3dfb4 [Catalyst] Bluetooth screen migration
- Add a flag for the migration
- Add the skeleton of the screen

Test: atest BluetoothDashboardScreenTest
Bug: 372774767
Flag: com.android.settings.flags.catalyst_bluetooth_switchbar_screen
Change-Id: I48e446532d3e839ae55880095a496e3ac4790c81
2024-10-18 17:00:49 +08:00
Jason Chiu
af1e8f7353 [Catalyst] SIMs screen migration
- Add a flag for the migration
- Add the skeleton of the screen

Test: atest MobileNetworkListScreenTest
Bug: 368355368
Flag: com.android.settings.flags.catalyst_mobile_network_list
Change-Id: I9d5d57b78d8f2c7d2bc6fd02e402fcdaf5b97bdf
2024-10-18 16:22:08 +08:00
Jacky Wang
f788c33aa4 Merge "Add Battery skeleton page and corresponding TS flag" into main 2024-10-18 07:59:41 +00:00
Chaohui Wang
d0d3879fa4 Redirect to new APN edit page
Bug: 374226933
Flag: EXEMPT clean up
Test: am start -a android.intent.action.INSERT
          -d content://telephony/carriers --ei sub_id 2
Test: am start -a android.intent.action.EDIT
          -d content://telephony/carriers/208 --ei sub_id 2
Change-Id: I1c5e3a271e1dc85930d73b5b56b3e655821c858b
2024-10-18 15:45:17 +08:00
Treehugger Robot
e82f8ed137 Merge "Refine biometrics accessibility interactor" into main 2024-10-18 07:35:36 +00:00
tomhsu
3f4cf24ad3 Avoid flakiness SLO
Flag: EXEMPT bugfix
Fix: b/365673174
Test: atest pass
Change-Id: If27c4ca7f8dfd1a0670962b5dba1c42303caccce
2024-10-18 07:16:36 +00:00
Chaohui Wang
bf5c04e16b Remove TelephonyManagerConstants
- Must migrated to TelephonyManager directly
- Except NETWORK_MODE_UNKNOWN not in TelephonyManager, moved to
  newly created NetworkModes
- Move addNrToLteNetworkMode() and reduceNrToLteNetworkMode() to
  NetworkModes and adding tests

Bug: 373771849
Flag: EXEMPT refactor
Test: manual - on sims settings
Test: unit tests
Change-Id: I0781a59905415aa7896510ad086d19da48e8ba37
2024-10-18 12:02:53 +08:00
Yi Jiang
3b0a93df8b Merge "Create a config flag for the new Screen Timeout settings screen" into main 2024-10-18 03:06:59 +00:00
Jason Chiu
8797e3b8ea Merge "Move the annotation right before String" into main 2024-10-18 01:41:04 +00:00
Dongzhuo Zhang
8e3e3ea973 Swtich to use DefaultAccount related API to get and set default account for handling contacts.
Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest
atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStoragePreferenceControllerTest
Bug: 368641291
Flag: com.android.settings.flags.enable_contacts_default_account_in_settings
Change-Id: I1164c120881714d051a6acc34e75d2b5de0f01b5
2024-10-18 00:55:34 +00:00
Daniel Norman
4c3473134c Hides the Edit Shortcut top preference when empty.
This fixes an issue where this page was presenting an inaccurate
preference list count to TalkBack because it was including this empty
preference.

(Uses the same flag as other fixes for this same bug, even though the
flag name doesn't make sense here.)

Test: atest EditShortcutsPreferenceFragmentTest
Test: Confirm preference invisible when editing a single feature,
      opened from the Settings app
Test: Confirm preference invisible when editing a single feature,
      opened from the FAB Drag-to-Edit
Test: Confirm preference still visible when editing multiple features,
      opened from the FAB Drag-to-Edit
Test: Confirm TalkBack announces correct item counts in both cases,
      including when editing Magnification which has an "advanced"
      preference that gets replaced with the triple-tap shortcut.
Bug: 318607873
Flag: com.android.settings.accessibility.toggle_feature_fragment_collection_info
Change-Id: I2e1eb7f66022c1a47d1f96a914294fd8da25549c
2024-10-18 00:18:54 +00:00
Yi Jiang
940b2143eb Create a config flag for the new Screen Timeout settings screen
Test: compile
Bug: 368359967
Flag: com.android.settings.flags.catalyst_screen_timeout

Change-Id: I44f3898a0d003e1947d63985edf571c76b783f07
2024-10-17 19:52:05 +00:00
Joy Babafemi
286dcff126 Merge "Fix missing open button under preferred service in credman settings screen" into main 2024-10-17 19:19:12 +00:00
Treehugger Robot
5b8bcbf637 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-17 16:19:26 +00:00
Treehugger Robot
b640f0445e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-17 16:19:26 +00:00
Treehugger Robot
2040dc37cf Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-17 16:19:26 +00:00
Kenneth Ford
b8e331612b Merge "Update Settings tests to new DeviceStateManager API" into main 2024-10-17 16:15:00 +00:00
Piotr Wilczyński
ddef40edd0 Merge "Set the same density to all displays" into main 2024-10-17 15:17:59 +00:00
Jacky Wang
0901eb736d Merge "Simplify settings datastore calls" into main 2024-10-17 12:31:36 +00:00
Fan Wu
136244ab2a Add Battery skeleton page and corresponding TS flag
Test: atest
Bug: 372774754
Flag: com.android.settings.flags.catalyst_power_usage_summary_screen
Change-Id: I2ce7581d0f7fdce3516fef415efdf562c63e38d4
2024-10-17 10:06:48 +00:00
Treehugger Robot
115f4a804e Merge "[expressive design] Migrate App info page." into main 2024-10-17 09:32:23 +00:00
MiltonWu
033b7e5620 Refine biometrics accessibility interactor
1. support non-flow version isEnabled
2. support send announment

Bug: 372385781
Test: Function works w/o build break
Flag: EXEMPT feature flag protected on override project
Change-Id: I2867edf9e9b9cc9190888e257a203acd7877ab3b
2024-10-17 08:39:44 +00:00
Jason Chiu
ae5f82d36b Move the annotation right before String
Fix: 374015480
Test: build
Flag: EXEMPT N/A
Change-Id: Id4eb78319b10f63a0a8959643b63ed9a598f24af
2024-10-17 15:02:58 +08:00
Joshua Mccloskey
1d6b6cef69 Merge "Added error message to error state." into main 2024-10-17 06:47:11 +00:00
Yuchen
29a163888f [expressive design] Migrate App info page.
Test: visual
Bug: 360916599
Flag: EXEMPT bug fix
Change-Id: Icd98e1616288606b629cae7f9d9232a6efbfcaf3
2024-10-17 06:02:48 +00:00
Xinyi Mao
efb5fa5003 Merge "Use BatteryOptimizeUtils to add packageName into PowerSaveWhitelistUserApps allowlist, which will set app into Unrestricted Mode" into main 2024-10-17 04:59:43 +00:00
Jacky Wang
db3b6ee073 Simplify settings datastore calls
NO_IFTTT=Code refactor

Bug: 364899400
Flag: EXEMPT test
Test: atest DialPadTonePreferenceTest
Change-Id: Ifb4ab11e07b37952dfb3cc78d25383d563d5749d
2024-10-17 11:33:24 +08:00
Treehugger Robot
4d19f45505 Merge "Rename CatalystScreenTestCase.context" into main 2024-10-17 02:21:56 +00:00
Shaowei Shen
3836bfa202 Merge "[Physical Keyboard] Add slow keys dialog" into main 2024-10-17 02:06:01 +00:00
Treehugger Robot
73742e3c34 Merge "Provide icon for catalyst screens" into main 2024-10-17 01:51:10 +00:00
Treehugger Robot
421bd753c4 Merge "Migrate Text Reading" into main 2024-10-17 00:49:14 +00:00
Jaewan Kim
198579affb Merge "Enable Linux terminal app via developer settings" into main am: fcc6b6ce7c am: 49be3eebd5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3293590

Change-Id: Icd327f4e45c3cef1eabed2a30f38ecbf2fa86a12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-17 00:03:28 +00:00
Jaewan Kim
49be3eebd5 Merge "Enable Linux terminal app via developer settings" into main am: fcc6b6ce7c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3293590

Change-Id: I6ba801b4ac147769d2a3fda75f4aa819d8e2239d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-16 23:43:23 +00:00
Jacky Wang
1e13457267 Rename CatalystScreenTestCase.context
Bug: 370394101
Flag: EXEMPT test
Test: N/A
Change-Id: Icfe546154a079f24a75455d25d128d5e550162cd
2024-10-17 07:38:31 +08:00
Jacky Wang
9b62ec9616 Provide icon for catalyst screens
Bug: 335132588
Flag: EXEMPT N/A
Test: Manual
Change-Id: I520529c3bf4a7db01889d08683f55b0efb21eae4
2024-10-17 07:38:24 +08:00
Jaewan Kim
fcc6b6ce7c Merge "Enable Linux terminal app via developer settings" into main 2024-10-16 23:23:29 +00:00
Bill Yi
0e772bd8d2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I74505a5ffb3e310a6f1de4d1b2f0d1e081d44d2a
2024-10-16 13:20:12 -07:00
Bill Yi
612880bb93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic6f36b2f8c2d9a303c3e8b4ce9e0b26f86b7bfca
2024-10-16 13:18:11 -07:00
Bill Yi
4597290de3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6285a75d4d67974ba067efaa9d7f4ebbe7246e1c
2024-10-16 13:16:35 -07:00
Riley Jones
c850dfac26 Removes the A11y tutorial that displays on change to gesture navigation
Switching to gesture navigation puts button mode in FAB,
so there's no longer a need to show a gesture tutorial.

Test: change navigation modes. Verify no tutorial is shown for either option
Flag: android.provider.a11y_standalone_gesture_enabled
Bug: 371027085
Change-Id: I71e33efea3e25d22b0bc41c33b17de11f9ef2d64
2024-10-16 18:58:35 +00:00
Jaewan Kim
591d4fd932 Enable Linux terminal app via developer settings
Bug: 369246712
Test: `atest SettingsRoboTests`, try toggle the option, \
  and try search with 'Linux'.
Flag: RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Ibdcf00de04f09fe5b03ba53857904945354ed844
2024-10-16 15:49:12 +00:00
Treehugger Robot
2f80653aab Merge "Fix a crash in PhysicalKeyboardFragment" into main 2024-10-16 14:44:34 +00:00
Tetiana Meronyk
b0706be4af Set availability of AddUserWhenLockedPreference before it gets displayed.
This prevents flickering if the preference is meant to be hidden.

Bug: 373269781
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ibf1e1915e9ad872bdaaba30fb7fa9047665531f7
2024-10-16 13:28:54 +00:00