Commit Graph

139242 Commits

Author SHA1 Message Date
Jason Chiu
3f0eefbd37 Fix the a11y focus problem in a long list page
While a page is scrolling to the target position, the target can't
request a11y focus, and the highlight blink animation at the moment is
also invisible.

The patch is to skip the unseen highlight animation and focus operation
when onBindViewHolder() is called before scrolling. Therefore, when the
scrolling stops, the scroll listener will notify the item changed and
onBindViewHolder() will be called again to do the operations.

Also decrease the delay time of the scrolling start to make the a11y
smoother.

Bug: 318459003
Test: manual, robotest
Change-Id: Ie55b2edeb7e1feaaadb5e670f39f07f6f17b92b9
2024-04-02 10:43:28 +08:00
SongFerng Wang
fd6ae421fd Merge "Add log for setDataEnabledForReason" into main 2024-03-30 15:37:14 +00:00
Treehugger Robot
22241f18ee [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 3bfbd3f08b -s ours
am skip reason: contains skip directive

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

Change-Id: I19036f090210560f738313a07871ecef6aa1deda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:50:40 +00:00
Bill Yi
5b425981c8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 37746d10f0 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie7221331d3bad6e7adb51bfed7e649ec8b8e274a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:50:33 +00:00
Bill Yi
adcbb3b1a0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ff9585eb97 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia603548ad1e2cb43bcf9255cc5ee72b19dea96dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:40:58 +00:00
Automerger Merge Worker
6fec5338b5 Merge changes from topic "am-d6f679a9148840b4beaadf3677246075" into main
* changes:
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 5534cc5b1c -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 89373d1cca -s ours
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 6450b92abf -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 0217eb4478 -s ours
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 55b2618244 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3d48c3b26f -s ours
2024-03-29 22:37:14 +00:00
Treehugger Robot
23f02d08f4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 5534cc5b1c -s ours
am skip reason: contains skip directive

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

Change-Id: I1576a30b5b7b11d50089731266aa4c1d2b1f4212
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:36:53 +00:00
Bill Yi
812a15501e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 89373d1cca -s ours
am skip reason: contains skip directive

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

Change-Id: I503f3e3b70c6c63193d5025efaf00678de40ed11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:36:36 +00:00
Treehugger Robot
dc76b947df [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 6450b92abf -s ours
am skip reason: contains skip directive

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

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

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

Change-Id: Icbb59d2787918b708f6b007a34a7a2eb066870d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:36:29 +00:00
Treehugger Robot
b62abb0209 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 55b2618244 -s ours
am skip reason: contains skip directive

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

Change-Id: Id92dff473284f7e45397609909a692493e1f019b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:36:20 +00:00
Treehugger Robot
c724d2ed7f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-29 22:36:19 +00:00
Treehugger Robot
64ace3b6ef Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-29 22:36:19 +00:00
Treehugger Robot
82b5c40a23 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-29 22:36:19 +00:00
Bill Yi
58bf38de1c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3d48c3b26f -s ours
am skip reason: contains skip directive

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

Change-Id: I5f89a8f6ee7b1edbc31441d8a0a9253ad85c3dab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 22:36:11 +00:00
Treehugger Robot
3bfbd3f08b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-03-29 22:36:08 +00:00
Becca Hughes
92485a7308 Merge "Implement policy transparency for CredMan" into main 2024-03-29 22:20:11 +00:00
Treehugger Robot
5534cc5b1c Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-29 22:17:51 +00:00
Treehugger Robot
6450b92abf Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-29 22:17:51 +00:00
Treehugger Robot
55b2618244 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-29 22:17:51 +00:00
Priyanka Advani
27d7b192f7 Merge "Revert "Add waiting screen before PS setup completion"" into main 2024-03-29 21:43:30 +00:00
Priyanka Advani
d2c91b587e Revert "Add waiting screen before PS setup completion"
This reverts commit 7b0b26ec92.

Reason for revert: b/331935387. ACA has already verified the revert.

Change-Id: Idf28854f25c4bad3563408dbb7b5c84f0cdbe2f2
2024-03-29 21:30:27 +00:00
Anna Bauza
1a621c4910 Merge "Refactor SettingsLib to remove redundant resources conditionally" into main 2024-03-29 21:08:49 +00:00
Kyle Zhang
6565292c71 Merge "Modify test to accomodate unchangable flag" into main 2024-03-29 20:58:10 +00:00
Daniel Norman
27607a47a5 Merge "fix(magnification): make always on toggle unavailable when capabilities is window only" into main 2024-03-29 19:09:35 +00:00
Becca Hughes
9931d03f6f Implement policy transparency for CredMan
This CL implements policy transparency for
Credential Manager settings.

Screenshots:
https://hsv.googleplex.com/5502938857340928
https://hsv.googleplex.com/4999933426925568

Test: on device w/ test dpc
Bug: 318552220
Change-Id: I78e1fa47541c81e6e2d2bf2c13159be01928e77c
2024-03-29 09:56:47 -07:00
Anna Bauza
6346ae2aab Refactor SettingsLib to remove redundant resources conditionally
Bug: 320878675
Test: manual
Change-Id: I21b7cf56c74be759ac95621498b753ac70d143b2
2024-03-29 14:43:51 +00:00
Joseph Vincent
ea6500455a Merge "Add waiting screen before PS setup completion" into main 2024-03-29 14:30:07 +00:00
Fan Wu
70272cdcde Merge "Remove LooperMode.LEGACY usage from two test classes" into main 2024-03-29 10:10:18 +00:00
Fan Wu
3fdb68c2c2 Merge "Remove LooperMode.LEGACY usage from settings/applications path." into main 2024-03-29 10:09:59 +00:00
Jason Chiu
6ca5c992d7 Merge "[Safer intents] Permission controller" into main 2024-03-29 09:20:28 +00:00
songferngwang
be3008e09d Add log for setDataEnabledForReason
To know who change the mobile data

Bug: 331843727
Test: NA Adding log only
Change-Id: I3ef5662102761541cd3e0e4662e0acab07c71937
2024-03-29 09:06:34 +00:00
Jason Chiu
cac043d82e Merge "[Safer intents] Settings misc" into main 2024-03-29 06:36:45 +00:00
Jason Iman
0173ee480c Merge "arc: Use ChromeOS host's IP address for WiFi ADB" into main 2024-03-29 05:05:39 +00:00
Jason Chiu
0bd014c497 [Safer intents] Settings misc
To avoid implicit intents, make intents launch explicitly.

Test: build
Bug: 323061508
Change-Id: Ie19cbceb89842a75a180898abcce81b63c18d46c
2024-03-29 04:22:45 +00:00
Fan Wu
4bb2bff03e Remove LooperMode.LEGACY usage from two test classes
Bug: 330824314

Test: atest
Change-Id: Ic8e6aa633d72b7680a9ff8c6e37a66c64778c26a
2024-03-29 10:49:53 +08:00
Fan Wu
cf3649f21b Remove LooperMode.LEGACY usage from settings/applications path.
Bug: 331546577

Test: atest
Change-Id: I419100b302bee55a06fbc481232927ea44a68bd3
2024-03-29 10:48:50 +08:00
YK Hung
e78fd23820 NPE protection for invokeJobRecheck() in the fragment
Ensure getContext() is not null before invokeJobRecheck() in the
background, since the main fragment may be detached to return null
context (in the corner case)

Test: atest
Fix: 331719252
Change-Id: Ia7ba757d2e6ebaf3fd371af51270c0eb0ad0a9f7
2024-03-29 02:48:11 +00:00
Jason Chiu
9507bdb3ac Merge changes from topic "overlay_packages" into main
* changes:
  [Safer intents] Notifications
  [Safer intents] Define package names in Settings
2024-03-29 01:14:26 +00:00
Jason Chiu
0b61e93459 Merge "[Safer intents] Connectivity" into main 2024-03-29 01:11:06 +00:00
Jason Chiu
2ddc771dad Merge "[Safer intents] Applications" into main 2024-03-29 01:09:57 +00:00
Jason Chiu
ea5dbf68e0 Merge "[Safer intents] Device info" into main 2024-03-29 01:09:04 +00:00
Treehugger Robot
f52d24e7d0 Merge "Add summary text for settings page" into main 2024-03-29 00:56:07 +00:00
Bill Yi
0217eb4478 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I01b54c8e988b13a78eb56f421f64777e953c0350
2024-03-28 17:05:19 -07:00
Bill Yi
5a994dfaf0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I843fd5e85ca791c638fa408ebf0a2cbc662a39e2
2024-03-28 17:04:26 -07:00
Bill Yi
89373d1cca Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9a683c387ab78a4e34ed6087729264f9e3a623d5
2024-03-28 17:02:13 -07:00
Bill Yi
3bfaccfa30 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I89885a9e387494001c8ee87b6d00c31e6459fb5c
2024-03-28 17:00:30 -07:00
Bill Yi
3d48c3b26f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3351baeffb02aedabbad0047e00e4e6605b251d6
2024-03-28 16:59:07 -07:00
Bill Yi
183fb8cf25 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2d738922ea5252156c8ec4c674880527a6f5e62a
2024-03-28 16:58:21 -07:00
Bill Yi
ff9585eb97 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I379fddc5f5347057aa951bfaf307841f11b18126
2024-03-28 16:56:44 -07:00