Commit Graph

17380 Commits

Author SHA1 Message Date
Jacky Wang
006bf17c4f [DataStore] Migrate BatteryBackupHelper to BackupRestoreStorage
Bug: 325144964
Test: Manual tests
Change-Id: I19f7c78969d70648d1e45f1627827d98b1fdd1e0
2024-03-03 22:42:00 +08:00
Treehugger Robot
14f9f67df6 Merge "Make SmartBatterySettings unsearchable when it's not available." into main 2024-03-01 17:56:59 +00:00
Yiling Chuang
93c0dbf98d Make SmartBatterySettings unsearchable when it's not available.
Bug: 323915905
Test: robotest
Change-Id: I5adc9d19b482b8e07237f5c7d62d315556095c38
2024-03-01 16:28:12 +00:00
Shaowei Shen
624e1beca8 Merge "[A11y Setting] Add keyboard keys preferences under A11y page" into main 2024-03-01 13:37:03 +00:00
shaoweishen
a5f5ff4add [A11y Setting] Add keyboard keys preferences under A11y page
Bug: 325851068
Test: make RunSettingsRoboTests
Change-Id: Ic7eb1ec9e260a95d040bee784cbff479a4f087d0
2024-03-01 12:05:30 +00:00
Treehugger Robot
64f740e599 Merge "Revert "Re-enable failed tests under settings/widget/"" into main 2024-03-01 05:02:25 +00:00
Fan Wu
4826dd8c10 Revert "Re-enable failed tests under settings/widget/"
This reverts commit cfb73e2dd3.

Reason for revert:
Still failing when running the entire test suite.

Change-Id: I1783265ca8362a2e1d4b89a1d577e1c0a35bd535
2024-03-01 02:28:07 +00:00
Marcus Ge
12108acc07 Merge "[Accessibility] Add basic metrics logging for color contrast" into main 2024-02-29 21:04:23 +00:00
Yiyi Shen
e5302bc1f1 Merge "[Audiosharing] Gates legacy le audio sharing UI in sound Settings." into main 2024-02-29 09:50:42 +00:00
Fan Wu
c59c3a3d4f Merge "Re-enable failed tests under settings/widget/" into main 2024-02-29 08:53:15 +00:00
Fan Wu
cfb73e2dd3 Re-enable failed tests under settings/widget/
The failing tests should be fixed by the underlying test framework updates

Bug: 315133235

Test: atest
Change-Id: I7f5d8f6af9193409253418b02b674a721489eb28
2024-02-29 02:55:06 +00:00
Fan Wu
4aa67b846f Merge "Fix AppMemoryPreferenceControllerTest" into main 2024-02-29 02:31:37 +00:00
Chris Antol
3711945eb2 Merge "Revert "Finish HomepageActivity when it's not the root of a task and not singleTask."" into main 2024-02-28 23:20:13 +00:00
marcusge
16d82ccd0a [Accessibility] Add basic metrics logging for color contrast
proto was merged in ag/26383954

Bug: 241805782
Test: atest

Change-Id: Ic2e6bcb27aecc386582e6f268d3b4f40387f2742
2024-02-28 20:33:05 +00:00
Chris Antol
778bcee157 Revert "Finish HomepageActivity when it's not the root of a task and not singleTask."
This reverts commit 5a305645c1.

Reason for revert: b/325861149

Change-Id: I4441f939a46bf65514756a015355ea5089147c1d
2024-02-28 19:56:56 +00:00
Marcus Ge
747d0afa21 Merge changes I69049a13,I7fcc01b8 into main
* changes:
  [Accessibility] Migrate high text contrast under feature flag
  [Accessibility] Add contrast control screen UI and setup entry point
2024-02-28 19:38:27 +00:00
Fan Wu
d7af96ed3d Fix AppMemoryPreferenceControllerTest
Bug: 313582035

Test: atest
Change-Id: I87c273d57d69d5e93d72fb85ea2508b65a9eaeea
2024-02-28 15:51:16 +08:00
Jason Hsu
429291b70a Merge changes Id1ed4455,I73e62733 into main
* changes:
  Make Preferences more visible with colored rounded rectangle background and an arrow icon
  Provides BackgroundPreference that can set background statically or dynamically
2024-02-28 04:01:06 +00:00
marcusge
cddd7b3660 [Accessibility] Add contrast control screen UI and setup entry point
Bug: 241805782
Test: atest, local raven device
Screenshot: attached on bug
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I7fcc01b822b460c6585c41a5831575ba0ffbcc93
2024-02-27 23:36:52 +00:00
Srinivas Patibandla
11c45862d8 Merge "[Hide DCK Device] Move the aconfig flag for hide DCK device feature to settingslib" into main 2024-02-27 22:52:00 +00:00
Srinivas Patibandla
85f941f9c3 [Hide DCK Device] Move the aconfig flag for hide DCK device feature to settingslib
Test: atest: com.android.settings.bluetooth.ConnectedBluetoothDeviceUpdaterTest
Test: atest: com.android.settings.bluetooth.SavedBluetoothDeviceUpdaterTest
Bug: 323298503
Bug: 324475542
Flag: ACONFIG com.android.settingslib.flags.enable_hide_exclusively_managed_bluetooth_device DEVELOPMENT
Change-Id: I558b749501807afcea7c15d94f498f01162a6f1e
2024-02-27 18:53:37 +00:00
Riley Jones
3a5b5a4d2a Fix for EditShortcutsPreferenceFragmentTest to mock the correct AccessibilityTarget fields
Also adds settings a11y tests to TEST_MAPPING presubmit

Bug: 324945360
Test: EditShortcutsPreferenceFragmentTest
Flag: N/A
Change-Id: I8c36031ae33f2d74297ed4bbb0aa4fcbd026db76
2024-02-27 18:13:38 +00:00
Angela Wang
a32ebfb5a4 Merge "Redirects to connected devices page in a11y pairing page" into main 2024-02-27 14:25:21 +00:00
Angela Wang
4a2b4a87d7 Redirects to connected devices page in a11y pairing page
With UX flow change, clicking "View more devices" button will redirect to connected devices page rather than connected device pairing page.

Bug: 321840161
Test: atest ViewAllBluetoothDevicesPreferenceControllerTest
Change-Id: Icfc03a463e2aaaf3db3c75524c112028b1fd6655
2024-02-27 07:35:36 +00:00
Yiyi Shen
57e70a7523 Merge "[Audiosharing] Clean up audio sharing from Settings" into main 2024-02-27 03:57:40 +00:00
Fiona Campbell
20909fa590 Merge "Create EvenDimmerPreferenceController" into main 2024-02-26 14:28:02 +00:00
Yiyi Shen
dd7626f55b [Audiosharing] Clean up audio sharing from Settings
Bug: 324023639
Test: atest
Change-Id: Ie73790442f39af60b125bbd48182a700bb0b290a
2024-02-26 17:24:53 +08:00
SongFerng Wang
47905f7af8 Merge "Fixed AutoDataSwitchPreferenceControllerTest" into main 2024-02-26 07:33:55 +00:00
jasonwshsu
d23c2867c6 Make Preferences more visible with colored rounded rectangle background and an arrow icon
Bug: 320709814
Test: atest ArrowPreferenceTest
Change-Id: Id1ed44554010ae0df901cceba2624a1b56661df6
2024-02-26 05:57:11 +00:00
jasonwshsu
6dc0e30b56 Provides BackgroundPreference that can set background statically or dynamically
Bug: 320709814
Test: atest BackgroundPreferenceTest
Change-Id: I73e62733e6afd032ce980a4d6db0f4ca4573e770
2024-02-26 05:56:47 +00:00
Rafael Higuera Silva
be3a609c25 Merge "Add new dialogue when user is going to delete sim that use RAC." into main 2024-02-26 04:09:19 +00:00
Yiyi Shen
3caf0c7073 Merge "[Audiosharing] Impl audio sharing feature provider in Settings" into main 2024-02-26 01:58:53 +00:00
Yiyi Shen
42b8fbb74f [Audiosharing] Impl audio sharing feature provider in Settings
Add createAvailableMediaDeviceGroupController interface to provide
different controller in Settings and SettingsGoogle.

Bug: 324023639
Test: atest
Change-Id: Ibf2ea2620c878e609eb937ff6947f5aaa0b89e7a
2024-02-24 07:25:36 +00:00
Rafael Higuera Silva
736df6d2ef Add new dialogue when user is going to delete sim that use RAC.
Test: make
Bug: 316419093
Change-Id: Iaed54afa7cfd20c1dd6adbd4d50f54cab3da095d
2024-02-23 23:11:56 +00:00
Piotr Wilczyński
7291a65093 Merge "Refresh rate preference controllers aware of multiple displays" into main 2024-02-23 23:05:55 +00:00
Riley Jones
14ec4f08c3 Merge "DragToEdit Dynaimc Title" into main 2024-02-23 19:46:13 +00:00
Piotr Wilczyński
96343a9eff Refresh rate preference controllers aware of multiple displays
Set mPeakRefreshRate in the preference controllers to the highest refresh rate among all the modes of all the displays. It'll then be used to determine two things:
- if the setting is available
- the summary of the setting

This should only be done if the back up smooth display feature flag is enabled. If it's disabled, mPeakRefreshRate is passed to DisplayModeDirector and used for the votes. If the highest refresh rate of one display is 120 and that of the other is 130, we shouldn't set the vote to 130 for both displays. With the flag enabled, DisplayModeDirector figures out the highest refresh rate for each display.

Bug: 310238382
Test: atest PeakRefreshRatePreferenceControllerTest
Test: atest ForcePeakRefreshRatePreferenceControllerTest
Test: atest RefreshRateSettingsUtilsTest
Change-Id: I369927ba22df70958178505d8fc7c5747aaa8fdd
2024-02-23 18:01:22 +00:00
Hani Kazmi
600021d762 Merge "Update missed ECM Settings tests" into main 2024-02-23 14:14:29 +00:00
songferngwang
d1d1e43313 Fixed AutoDataSwitchPreferenceControllerTest
The settings Flag is not assigned value, it cause test cases failed

Bug: 326543866
Test: have tested the v2/android-settings/apps/robolectric_settings_test at https://android-build.corp.google.com/builds/abtd/run/L92300030002155909
The test cases of com.android.settings.network.telephony are all passed.
Change-Id: I5a53fb6de741a7550f03ffca3c519d6b67c7c0fe
2024-02-23 10:48:53 +00:00
Mark Kim
94c7bd7e31 Merge "Disable APP_ARCHIVING flag for specific test" into main 2024-02-23 10:08:40 +00:00
Joshua Mccloskey
366e8e38e6 Merge "Fixed fingerprint enroll test" into main 2024-02-22 16:40:01 +00:00
Mark Kim
194d7f7687 Disable APP_ARCHIVING flag for specific test
APP_ARCHIVING flag was introduced to control archiving feature in
Settings separately from OS.
The broken test was expecting archiving feature flag be disabled but it
didn't take into account a newly introduced flag which was automatically
rolled out in ag/26270549

Test: InstalledAppCounterTest
Bug: n/a
Change-Id: I253cf7e6b28c9f1508c3f9fd1104fdb06b8706c2
2024-02-22 16:18:59 +00:00
Hani Kazmi
544e471ec2 Update missed ECM Settings tests
Bug: 297372999
Test: atest BluetoothDetailsRelatedToolsControllerTest
      AppInfoDashboardFragmentTest
Change-Id: Icd83b70b0621f71cc4a253375c65ff6cce34b672
2024-02-22 13:51:36 +00:00
Fan Wu
a26f628213 Merge "Fix SurveyMixinTest" into main 2024-02-22 06:02:19 +00:00
Treehugger Robot
59e7d60fb4 Merge "[Shadow] Fix failed test case for battery defender" into main 2024-02-22 05:30:25 +00:00
Joshua McCloskey
0aefad8859 Fixed fingerprint enroll test
Test: atest FingerprintEnrollIntroductionTest
Fixes: 326325883
Change-Id: Ib0d0ebff90d401861fa0663403fc2366cd308f22
2024-02-22 03:47:30 +00:00
pajacechen
a20232d7a1 [Shadow] Fix failed test case for battery defender
- Fix failed test case in BatteryInfoTest and BatteryDefenderTipTest

Test: http://ab/I73800010248910938
Bug: 315748218
Change-Id: Iaa01a1d777236b7772fa762c94ab094246c38f21
2024-02-22 11:28:44 +08:00
Chelsea Hao
a9178952ae Merge "Add auto on toggle in settings." into main 2024-02-22 02:53:16 +00:00
Joshua Mccloskey
5d6ed31261 Merge "Adding biometric FRR Notification atom." into main 2024-02-22 01:04:07 +00:00
Hani Kazmi
05427e6903 Merge changes from topics "ecm-manager", "ecm-tests" into main
* changes:
  Replace ECM AppOps call with service
  Wired remaining SpecialAppAccess for ECM.
2024-02-21 19:29:04 +00:00