Commit Graph

143936 Commits

Author SHA1 Message Date
Treehugger Robot
a868c602f1 Merge "Redesign the update logic of Allow Background Usage Page." into main 2024-10-21 10:27:18 +00:00
Treehugger Robot
0dbc16d2e0 Merge "Make NetworkProviderSettings extend RestrictedDashboardFragment" into main 2024-10-21 10:21:02 +00:00
Pechetty Sravani (xWF)
4e2320c2c0 Merge "Revert "Fix force close for updating UI after activity destroyed."" into main am: 0583090e98
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3313692

Change-Id: I3bb7106ca76e045a7b12f7084d4b8cb0cff61dfa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-21 10:13:36 +00:00
Pechetty Sravani (xWF)
0583090e98 Merge "Revert "Fix force close for updating UI after activity destroyed."" into main 2024-10-21 09:49:30 +00:00
Jason Chiu
8189b40067 Make NetworkProviderSettings extend RestrictedDashboardFragment
RestrictedSettingsFragment is deprecated and no longer supported. To be
compatible with catalyst, change the super class to
RestrictedDashboardFragment.

Bug: 372733639
Test: atest NetworkProviderSettingsTest, manual tests with user restrictions
Flag: EXEMPT N/A
Change-Id: I02b08363dadd5739a1d348f099d439b9f82ffb18
2024-10-21 09:11:16 +00:00
mxyyiyi
1732fa8db0 Redesign the update logic of Allow Background Usage Page.
- Use one Controller to manage preferences related to battery Optimization Mode.
- Move optimization mode & preferences status update logic from Fragment to Controller.

Bug: 373544647
Test: atest AdvancedPowerUsageDetailTest  PowerBackgroundUsageDetailTest BatteryOptimizationModePreferenceControllerTest BackgroundUsageAllowabilityPreferenceControllerTest
Flag: EXEMPT for simple fix
Change-Id: I2b1fed837fb4904e4118ab51c1d0cda36c0f6198
2024-10-21 16:51:14 +08:00
Pechetty Sravani (xWF)
bd44c86041 Revert "Fix force close for updating UI after activity destroyed."
This reverts commit 2545f06558.

Reason for revert: DroidMonitor created revert due  to b/374650528.Will be verified through ABTD for standard investigation.

Change-Id: Ifa3f061b7954dc2b5780b768fefb9358c597fdc0
2024-10-21 06:18:31 +00:00
Treehugger Robot
ffcd548694 Merge "Fix force close for updating UI after activity destroyed." into main am: b083196e76 am: bc05a87483
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3298551

Change-Id: I005b4589f5077a40a47bd58bb2d05c6c358b48fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-21 04:55:18 +00:00
Treehugger Robot
bc05a87483 Merge "Fix force close for updating UI after activity destroyed." into main am: b083196e76
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3298551

Change-Id: I62dbde335827b519cafd50f643db2228c06da457
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-21 04:28:32 +00:00
Treehugger Robot
b083196e76 Merge "Fix force close for updating UI after activity destroyed." into main 2024-10-21 04:11:01 +00:00
Jacky Wang
533de1fb46 Merge "Enable catalyst test for BluetoothDashboardScreenTest" into main 2024-10-21 04:09:03 +00:00
Chaohui Wang
95dc9fc7d8 Merge "Redirect to new APN edit page" into main 2024-10-21 01:14:25 +00:00
Treehugger Robot
4fb339f8f3 Merge "Fix BatterySaverScheduleRadioButtonsControllerTest" into main am: f233e50766 am: 9dd4394163
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3313119

Change-Id: I2b4a26090b9b2f66cd659ea2a5c9812b8b37575d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-20 12:44:37 +00:00
Treehugger Robot
9dd4394163 Merge "Fix BatterySaverScheduleRadioButtonsControllerTest" into main am: f233e50766
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3313119

Change-Id: I520953f9b2c6e5307fb87aa3eba09e7264851a08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-20 12:28:31 +00:00
Treehugger Robot
f233e50766 Merge "Fix BatterySaverScheduleRadioButtonsControllerTest" into main 2024-10-20 11:57:37 +00:00
YK Hung
cb2e1bdabb Fix BatterySaverScheduleRadioButtonsControllerTest
Test was failing because it was not setting the EXTRA_LOW_POWER_WARNING_ACKNOWLEDGED setting.

Change-Id: Id9e95c0240908dafbaa791e7f4f4b9ded9d39d9b
Test: atest BatterySaverScheduleRadioButtonsControllerTest
Bug: 370883745
Fix: 370883745
Flag: EXEMPT for simple bug fix
2024-10-20 02:11:54 +00:00
Jacky Wang
8697bdfb25 Enable catalyst test for BluetoothDashboardScreenTest
Bug: 372774767
Flag: EXEMPT test
Test: atest
Change-Id: Ic9feb40a94da70d34800ee5f01be8e8bb067b431
2024-10-19 21:32:35 +08:00
Daniel Norman
41440ff248 Removes overrides for shortcut-required service toggling.
These are unnecessary now that shortcut enabling is done via
A11yManager#enableShortcutsForTargets which handles enabling
a shortcut-required service if necessary, controlled by the
rolled out a11yQsShortcut flag.

These also cause a race condition conflict when attempting to toggle a
service that does not require a warning, causing it to disable the
service immediately after enabling.

Bug: 324653372
Flag: android.view.accessibility.a11y_qs_shortcut
Test: Toggle a shortcut-required service that does not require
      a warning; service is started correctly.
Test: Repeat for a service that does require a warning
Change-Id: Iff44d87faf8a5d2eb9b6643dd582c2b697ad0b5d
2024-10-18 20:26:31 +00:00
Chun-Ku Lin
abdb92453f Merge "Create an empty color and motion screen with Catalyst Infra" into main 2024-10-18 20:26:09 +00:00
Chun-Ku Lin
688cc94413 Create an empty color and motion screen with Catalyst Infra
Bug: 373451690
Test: atest ColorAndMotionScreenTest
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Change-Id: I4bfa5ec4d15bd745d691f586e49318b1b0a9bf6c
2024-10-18 18:36:13 +00:00
Daniel Norman
29641287d8 Merge "Hides the Edit Shortcut top preference when empty." into main 2024-10-18 17:29:37 +00:00
Treehugger Robot
037aae979d Merge "Enable catalyst test for PowerUsageSummaryScreenTest" into main 2024-10-18 13:30:11 +00:00
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
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