Commit Graph

140628 Commits

Author SHA1 Message Date
Haijie Hong
4ca77ce8d5 Add logging for SlicePreferenceController
Test: verify logging when slice is updated
Bug: 335872142
Bug: 339887313
Change-Id: I2173663beae2a482a9d3bdcec3c2270a2f3733cc
2024-05-23 05:43:47 +00:00
mxyyiyi
1d134d6665 Add a11y focus on battery chart a11y node.
- Let Talkback annouce the a11y action `Double-tap to ativate`.

Bug: 317001884
Test: Talkback
Change-Id: Ic383c9639950eb6a69ed7b3e1537a5d95d18ea08
2024-05-23 13:15:37 +08:00
Chun-Ku Lin
3c822399ae Merge "Pass user preferred shortcut types when launching the AccessibilityShortcutsTutorial." into main 2024-05-22 23:17:50 +00:00
Pawan Wagh
0ed57b79a6 Fix strings for dev options
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 339878739
Change-Id: Id6f3ad503ac6c01209a67d1bc46a47b2bbd911af
2024-05-22 21:54:12 +00:00
Bill Yi
005aeed3f0 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-05-22 18:46:35 +00:00
Bill Yi
451b39b769 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-05-22 18:46:35 +00:00
Bill Yi
89fe4ed5ec Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-05-22 18:46:35 +00:00
Treehugger Robot
7f541e460b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 81c59a0158 -s ours
am skip reason: contains skip directive

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

Change-Id: I1b88ce2a9842362897bbff47afc284a07bd868d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 18:03:32 +00:00
Bill Yi
bc2d46e82a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a2ab468c05 -s ours
am skip reason: contains skip directive

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

Change-Id: I608835faee3a7018c8f6a90091d8cf6268a00c67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 18:03:17 +00:00
Automerger Merge Worker
997fc41a4e Merge changes from topic "am-a67780c4fee8461681c02a955c49924f" into main
* changes:
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: a4b41397e0 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b2b57b1015 -s ours
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 9b427b0214 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e193d2ffd9 -s ours
2024-05-22 18:00:39 +00:00
Bill Yi
627834c7c4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6b307af577 -s ours
am skip reason: contains skip directive

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

Change-Id: I1665b6b220c373fcae1c25ceadc8a55b50621e75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 17:59:01 +00:00
Treehugger Robot
0dde8683b1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: a4b41397e0 -s ours
am skip reason: contains skip directive

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

Change-Id: I3f0e59db7dac5508ebcec32437bd7a5d8ceadf43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 17:53:27 +00:00
Bill Yi
b62a2aedc1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b2b57b1015 -s ours
am skip reason: contains skip directive

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

Change-Id: I309461b6366151cbfd4b734b95776bf2a3b1198c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 17:53:22 +00:00
Treehugger Robot
11ceb824d8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 9b427b0214 -s ours
am skip reason: contains skip directive

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

Change-Id: I11115cb54dcd3889e8dfe6a4eb088ed735628825
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 17:53:14 +00:00
Bill Yi
9917566373 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e193d2ffd9 -s ours
am skip reason: contains skip directive

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

Change-Id: I2c0bc6ab1aed96f0d4cb7ebf501cf513b5a2d688
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 17:53:05 +00:00
Treehugger Robot
81c59a0158 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-05-22 17:43:54 +00:00
Treehugger Robot
a4b41397e0 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-22 17:41:30 +00:00
Treehugger Robot
9b427b0214 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-22 17:41:30 +00:00
Julia Reynolds
4a84e58dba Add display and notif vis effects to new modes ui
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Fixes: 337087926
Fixes: 308820151
Change-Id: Id9cd9cc4b2d521713a2ba1d4581eb818ad0e5eee
2024-05-22 13:22:16 -04:00
Amith Yamasani
8b37c093b7 Add a source parameter for resrictions logging
Modify existing callers to use the new parameter

Bug: 341112680
Test: statsd_testdrive 866
      Manually change battery restriction level for an app
Flag: android.app.app_restrictions_api
Change-Id: I66f23341b90f96eb3091b94ab6db512570988643
2024-05-22 16:15:29 +00:00
Matías Hernández
52ac9410e8 Merge "Load app-provided mode icons asynchronously, and cache them" into main 2024-05-22 13:57:13 +00:00
Edgar Wang
72f0ccbb7c Merge "Update Search bar background color in Homepage" into main 2024-05-22 12:14:29 +00:00
chelseahao
7da939b2e3 Use broadcast name instead of program info.
Bug: 331547596
Test: atest
Change-Id: Ie5c35484367a32daeb5020fd03e8653e8c70b4be
2024-05-22 19:01:36 +08:00
Angela Wang
1ad008d07e Merge "Fixed the selection circle and color options had insufficient contrast issue" into main 2024-05-22 10:21:59 +00:00
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