Commit Graph

140604 Commits

Author SHA1 Message Date
Chelsea Hao
33add1b7ee Merge "[Audiosharing] Add tests." into main 2024-05-22 10:02:10 +00:00
Edgar Wang
d5e389f0ba Update Search bar background color in Homepage
Change-Id: I53a42d576df2e7d19244af2ebcfee3e8d6376dfd
Fixes: 340759836
Test: visual
2024-05-22 09:53:45 +00:00
Chaohui Wang
2237766fce Merge "Migrate to new ImsRegistrationCallback" into main 2024-05-22 09:40:26 +00:00
Angela Wang
2117f5f72d Fixed the selection circle and color options had insufficient contrast issue
Increased spacing to improve visual distinction between UI components.

Bug: 317461371
Test: manually check the UI with accessibility scanner
Change-Id: I9fcfb5756729b7843894ddcdf2d602be7235d61c
2024-05-22 09:01:44 +00:00
chelseahao
83ec0a30f3 [Audiosharing] Add tests.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: I8fc458d37cc3456085e1017ca0e6ca86cdae1a9c
2024-05-22 16:39:50 +08:00
Pajace Chen
c697feac26 [automerger skipped] Revert^2 "Fix "Free up space" not clickable issue" am: 105858cb31 -s ours
am skip reason: Merged-In I36062703b7ab5c21083459616234e3a86500719b with SHA-1 567f04603d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27454403

Change-Id: I5b1b761e90aceb78089572e9b0bba1320348c06a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 08:22:57 +00:00
Treehugger Robot
4bbb31db66 Merge "Add additional right padding for the button view" into main 2024-05-22 08:22:02 +00:00
Pajace Chen
105858cb31 Revert^2 "Fix "Free up space" not clickable issue"
4916f22ad5

Test: http://ab/I09800010279460954
Test: Build Pass
Merged-In: I36062703b7ab5c21083459616234e3a86500719b
Change-Id: Ib5d46196cf5f0326c7bb1686c609be386016f73d
2024-05-22 07:15:32 +00:00
Chaohui Wang
162796b6fe Merge "Create AppForceStopRepository" into main 2024-05-22 05:53:39 +00:00
Satish Yalla
1a5d6c3e18 [automerger skipped] Revert "Fix "Free up space" not clickable issue" am: 4916f22ad5 -s ours
am skip reason: Merged-In I36062703b7ab5c21083459616234e3a86500719b with SHA-1 e5d99fa93d is already in history. Merged-In was found from reverted change.

Reverted change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27451263

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27454157

Change-Id: I0096ccbdd11fa2a3e60b9d471ff6ed50f967e9a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 04:20:12 +00:00
Jerry Shi
96b5e6af05 Add additional right padding for the button view
Test: locally built and tested for both LRT and RTL locales
Bug: 332495504
Change-Id: I4db57a7cb038863dc7db3bb69bf94b95886f0cf3
2024-05-21 20:31:44 -07:00
Treehugger Robot
ea47aabe22 Merge "Fixed FaceEnrollIntro crash." into main 2024-05-22 03:21:04 +00:00
Treehugger Robot
39977d496d Merge "Removed full stop from face enroll text." into main 2024-05-22 03:21:03 +00:00
Satish Yalla
4916f22ad5 Revert "Fix "Free up space" not clickable issue"
Revert submission 27450348-cherrypicker-L62500030004014460:N91700030063291466

Reason for revert: Droidmonitor triggered revert due to build breakage in b/342043629. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:27450348-cherrypicker-L62500030004014460:N91700030063291466

Change-Id: Ifaf5fbee7f18719e89d5278585ae80bed3808bb5
2024-05-22 03:04:41 +00:00
Chelsea Hao
be8b707467 Merge "[Audiosharing] Update strings." into main 2024-05-22 02:52:57 +00:00
Chaohui Wang
fa0c8d4fd1 Migrate to new ImsRegistrationCallback
Migrate from deprecated api, and use new api as flow.

Bug: 337417520
Test: manual - on SIM status
Test: unit test
Change-Id: I8f938c0ccb6e3e61f8d4f6cb72c293f564351d52
2024-05-22 10:51:00 +08:00
pajacechen
ce04631565 [automerger skipped] Fix "Free up space" not clickable issue am: 567f04603d -s ours
am skip reason: Merged-In I36062703b7ab5c21083459616234e3a86500719b with SHA-1 e5d99fa93d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27451263

Change-Id: Idb9983451b44e96c1825e8b316e2ec93c3ff1f40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 02:32:44 +00:00
Roy Chou
bc0758fa54 Merge "chore(magnification): cleanup flag usage of hide_magnification_always_on_toggle_when_window_mode_only" into main 2024-05-22 00:56:13 +00:00
pajacechen
567f04603d Fix "Free up space" not clickable issue
- Adding CardPreference.java back for "Free up space" item
- Rename CardPreference.kt to TipCardPreference.kt

Bug: 333016642
Test: http://ab/I85800010265092964
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e5d99fa93d7b7c9034bd492191d781c9f211f051)
Merged-In: I36062703b7ab5c21083459616234e3a86500719b
Change-Id: I36062703b7ab5c21083459616234e3a86500719b
2024-05-22 00:49:43 +00:00
Fan Wu
0f84065b9d Merge "Enable VPN2 package to Presubmit as the tests aren't flaky during local tests." into main 2024-05-22 00:10:51 +00:00
Chun-Ku Lin
09efbe453c Pass user preferred shortcut types when launching the
AccessibilityShortcutsTutorial.

**Root cause**
When toggle the shortcut, it asks the AccessibilityManager to turn on
the shortcut and update the Settings data. Internally, the
AccessibilityManager delegate the work to AccessibilityManagerService
via a oneway binder call.

In the past, when launching the AccessibilityShortcutsTutorial, we
assume the shortcut selection are saved in the Settings before launching
the AccessibilityShortcutsTutorial. So we pass whatever are in the
Settings as what the user has selected to the tutorial.
This is not true anymore since we use the oneway AIDL call to do the
updates. The data in Settings may not yet be  updated before we use it to
launch the tutorial.

Since the user preferred shortcuts are always set before we attempt to
launch the AccessibilityShortcutsTutorial, we can rely on it instead of
the Settings value to launch the AccessibilityShortcutsTutorial for the
selected shortcut options.

**Changes in this cl**
- Mechanical refactor to extract the lines to get the user preferred
  shortcut into a method.

- Use the new method to grab the shortcut options to pass to the
  AccessibilityShortcutsTutorial to prevent the crash.

Bug: 341176890
Test: manual
    - Modify the AccessibilityManagerService locally to delay processing
      the request to update the shortcut options in Settings data
    - Turn on the shortcut toggle, and verify the app won't crash

Test: atest com.android.settings.accessibility
Flag: EXEMPT bugfix (low risk + mechanical refactor)
Change-Id: Id3cc4cc5f6667061545955881632544472aedd95
2024-05-21 23:33:55 +00:00
Joshua McCloskey
dd8ff53e1b Fixed FaceEnrollIntro crash.
Test: Manual.
Fixes: 339306372
Change-Id: Ib6b98f78b734a531378c1162eb86725995f45799
2024-05-21 22:32:37 +00:00
Joshua McCloskey
52effd0f2f Removed full stop from face enroll text.
Test: Manually verified the period is removed.
Fixes: 307982668
Change-Id: Ib5357f70d6487a1049b24087a9c9600b5cbd2d28
2024-05-21 22:18:28 +00:00
Matías Hernández
90f60e5912 Load app-provided mode icons asynchronously, and cache them
Bug: 333528586
Bug: 308819461
Test: atest IconLoaderTest
Flag: android.app.modes_ui
Change-Id: I230d0a17bf21533dfca1f25d4806f9231105801b
2024-05-21 19:16:26 +00:00
Bill Yi
f440ce5975 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2f2901316d -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27436092

Change-Id: I3c5055c7c9b4db3a19857cb2c9694b11e0adbcf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 18:38:26 +00:00
Julia Reynolds
a24c7183d2 Merge "Migrate alarms and other interruptions to modes_ui" into main 2024-05-21 17:12:26 +00:00
Joshua Mccloskey
890eecf2e4 Merge "UDFPS Enrollment Refactor (5/N)" into main 2024-05-21 16:59:33 +00:00
Oli Thompson
55a52fd975 Merge "Backup connected apps settings" into main 2024-05-21 16:22:40 +00:00
Roy Chou
dc92a296b5 chore(magnification): cleanup flag usage of hide_magnification_always_on_toggle_when_window_mode_only
The bug-fix flag is already soaking in trunkfood full stage for a while.
Since there is no coming issues related to the fix, we can apply the fix
and remove the flag usage.

Bug: 341203230
Flag: NONE
Test: manually
      atest MagnificationAlwaysOnPreferenceControllerTest
Change-Id: I7e6ef8e03e7b7291d2faa15351669a91a50f59a5
2024-05-21 16:07:25 +00:00
Omer Ozer
81a2c38a98 Merge "Add get permissions flag to package info query in factory reset preference controller." into main 2024-05-21 16:04:41 +00:00
Julia Reynolds
3f2bcf973a Migrate alarms and other interruptions to modes_ui
Also add missing tests for repeat callers

Flag: android.app.modes_ui
Test: ZenModesSummaryHelperTest
Test: ZenModeOtherPreferenceControllerTest
Test: ZenModeOtherLinkPreferenceControllerTest
Bug: 337086854
Change-Id: Ie0a849de61c32b5f9feacae9a1bac457f9dd526c
2024-05-21 11:54:48 -04:00
Bill Yi
b2b57b1015 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9cfb7a674d016e9a690442020e8ed04d50a11f3c
2024-05-21 07:05:56 -07:00
Bill Yi
90b2b9a555 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15f40a0e257e3cc801d9abae64595678beaeb18f
2024-05-21 07:04:54 -07:00
Bill Yi
2f2901316d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia7a99457461a1c60021dbea998949e764d8ad94a
2024-05-21 07:02:35 -07:00
Bill Yi
bf64aa5f73 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I360ca533697252c7c570baa3174c3d1caf2096f3
2024-05-21 07:00:38 -07:00
Bill Yi
e193d2ffd9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I815cfd6188bbdb7c89fc71ecc526878e91ede8c9
2024-05-21 06:59:11 -07:00
Bill Yi
f9c051294d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I423a87773496c982915d74473db724994b0534d3
2024-05-21 06:58:21 -07:00
Bill Yi
a2ab468c05 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iec619125c681e660b3e1b268207e946aa9df13df
2024-05-21 06:56:51 -07:00
Bill Yi
6b307af577 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I031113a5593e3f5e3ef35bd0e5318abf14e3d415
2024-05-21 06:55:26 -07:00
Julia Reynolds
640ad978b8 Merge "Migrate people settings to new modes UI" into main 2024-05-21 13:28:37 +00:00
Treehugger Robot
1f4ee3de23 Merge "Merge "Update haptic settings owners" into main am: 1c3e44a2da am: e2d8c52b71" into main 2024-05-21 12:13:53 +00:00
Fan Wu
4bbf7ec3db Enable VPN2 package to Presubmit as the tests aren't flaky during local tests.
Bug: 339533415

Test: atest
Change-Id: Ife64f460795e32a546f17ef04351c0ad12931d2f
2024-05-21 08:49:04 +00:00
chelseahao
21d98582ec [Audiosharing] Update strings.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 322819449
Change-Id: Iba0fa8d3470b896b1f672e01f88d405dcec08fe0
2024-05-21 15:49:19 +08:00
Automerger Merge Worker
2b7c9e5cdb Merge "[automerger skipped] Fix BackupTasksAppsTest am: 6d5dadfb0d -s ours" into main 2024-05-21 06:38:27 +00:00
SongFerng Wang
f7425b9e32 Merge "Fix UiccSlotUtilTest's test case" into main 2024-05-21 06:38:22 +00:00
Chaohui Wang
b563d78213 [automerger skipped] Fix BackupTasksAppsTest am: 6d5dadfb0d -s ours
am skip reason: Merged-In Ib01bd6556768a943ae7fae013c6ccb82b1b96697 with SHA-1 321e08e538 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27429225

Change-Id: Iad27456629e6ac6d92e1590834a40df8ac54fa3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 06:38:17 +00:00
Chelsea Hao
85d328ed9d Merge "[Audiosharing] Create dialog for unsupported device." into main 2024-05-21 06:35:13 +00:00
Chaohui Wang
6d5dadfb0d Fix BackupTasksAppsTest
Fix: 341832628
Test: atest BackupTasksAppsTest
Change-Id: I8731604d896d58a9b46b4d0af660a40c34bb905b
Merged-In: Ib01bd6556768a943ae7fae013c6ccb82b1b96697
2024-05-21 06:08:59 +00:00
Xinyi Mao
a05fab6dc5 Merge "Update view alpha to improve text color constract in Battery usage" into main 2024-05-21 05:39:46 +00:00
Chaohui Wang
e0d86be017 Fix default mode for AlarmsAndRemindersAppList am: 83aeb45f3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27391745

Change-Id: Ib16f3abadd2428f090ff9f28c9ea5045f64897be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 05:35:34 +00:00