Commit Graph

121264 Commits

Author SHA1 Message Date
Chaohui Wang
e13d644f2c Fix create bluetooth dialog repeatedly
When the screen rotates, currently the startActivityForResult() within
RequestPermissionActivity could be called multiple times, so the
multiple RequestPermissionHelperActivity will be created, which caused
the issue.

Replace RequestPermissionHelperActivity with AlertDialog (as an
unfinished TODO of RequestPermissionHelperActivity) can fix this issue.

Fix: 243601277
Test: Manually with adb shell commands
Test: Unit test
Change-Id: If1e2b2807b69a87bbcfffa543ee0da134d4c4312
2023-04-12 18:34:52 +08:00
YK Hung
c00fb2efbd Merge "Optimize screen time cross power connection logic from O(N^2) to O(N)" into udc-dev 2023-04-12 06:01:00 +00:00
David Liu
65136fa9f8 Merge "Update Settings owners list" am: 1a811a130a am: ae70edc7f5 am: a6cd016e9a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2531959

Change-Id: I0e597d416f82c54b3efefb3d1559fdc71d63e5dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 05:30:37 +00:00
David Liu
a6cd016e9a Merge "Update Settings owners list" am: 1a811a130a am: ae70edc7f5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2531959

Change-Id: Ife0d2b27db2c12e2129bc0d39fc521e41d59df59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 04:44:30 +00:00
David Liu
ae70edc7f5 Merge "Update Settings owners list" am: 1a811a130a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2531959

Change-Id: I921670dd1f5c3b39615d42027de10ff3ee8eb3d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 04:15:38 +00:00
Zaiyue Xue
680cd305a1 Optimize screen time cross power connection logic from O(N^2) to O(N)
Bug: 277844625
Fix: 277844625
Test: presubmit
Change-Id: If945e45a5eb279fd730dcc13575dd4fe45ac3ad4
2023-04-12 12:00:05 +08:00
David Liu
1a811a130a Merge "Update Settings owners list" 2023-04-12 03:50:16 +00:00
Treehugger Robot
eb3e62f639 Merge "[BiometricsV2] IconTouchDialog continue enroll" into udc-dev 2023-04-12 03:40:38 +00:00
David Liu
0b9bfd3c1f Update Settings owners list
Change-Id: Idb59b4ebf8d252d31877a6ed2203e7f66fc6e6ff
2023-04-12 01:48:48 +00:00
Treehugger Robot
104e412077 Merge "Fix empty icon while tapping Auto-rotate screen widget" into udc-dev 2023-04-12 00:58:03 +00:00
YK Hung
c89b8e6d78 Merge "Draw vertical dividers with different colors if it has a timestamp label" into udc-dev 2023-04-12 00:40:43 +00:00
Chris Antol
5336f758d2 Merge "Make Tips & Support page launchable from Settings Search results" into udc-dev 2023-04-12 00:04:36 +00:00
Quang Luong
ba74d65523 Merge "Don't overwrite security params when editing saved config" into udc-dev 2023-04-11 22:45:43 +00:00
Chris Antol
b8ed22bb4e Make Tips & Support page launchable from Settings Search results
Bug: 258315425
Test: Tested on pixel device: in Settings search bar, enter "Tips" then tap the result for Tips & Support -> verify Tips and Support page is launched

Change-Id: I30e52f5498fbeb840e7448fa464c20649f0b1db5
2023-04-11 21:08:05 +00:00
Marcello Galhardo
211b544ea8 Merge "Add Note Task Shortcut to Settings" into udc-dev 2023-04-11 12:57:06 +00:00
Treehugger Robot
ef65b4c580 Merge "[Panlingual] set direction and textAlignment for the locale dialog" into udc-dev 2023-04-11 11:54:37 +00:00
Treehugger Robot
d81b473fe0 Merge "[Regional Pref] Add footer in Regional preference page" into udc-dev 2023-04-11 10:57:41 +00:00
Zoey Chen
948eb57355 [Panlingual] set direction and textAlignment for the locale dialog
Bug: 276867490
Test: local test
Change-Id: I96b7d30bb9b7cba509275f1afef90ab8fc1c248b
2023-04-11 10:53:08 +00:00
Daniel Huang
74042f59de Merge "The dialog should persist after rotation." into udc-dev 2023-04-11 10:14:39 +00:00
Zoey Chen
5eecd86982 [Regional Pref] Add footer in Regional preference page
Bug: 277436632
Test: local test
Change-Id: I596f440696830374225d9b56fb8c4f0d5d5d5d61
2023-04-11 09:28:20 +00:00
Sunny Shao
75a1a3f65d Fix empty icon while tapping Auto-rotate screen widget
- Use the layer-list and AdaptiveIconShapeDrawable to include ic_screen_rotation_24dp.
- Update the color-check-baseline.xml.

Fixes: 277309043
Test: manual test
Change-Id: Ie1e3e114bb274c819902e1f5ff87240128afcba5
2023-04-11 17:22:18 +08:00
danielwbhuang
94d5d00a1a The dialog should persist after rotation.
1. Use DialogFragment
2. Override onSaveInstanceState
3. Refresh the UI after key remapping

Demo: https://screencast.googleplex.com/cast/NjMzMzcxNjc2Mzc3MDg4MHxlMjM0M2FiMi0zOA

Bug: 277148566
Test: manual
Change-Id: I0dc6678bfa45a4f84f38bf810433dd1e4432ba4a
2023-04-11 08:49:26 +00:00
Zaiyue Xue
20944e2028 Draw vertical dividers with different colors if it has a timestamp label
https://screenshot.googleplex.com/3pZ4ip96aXzqkZv.png
https://screenshot.googleplex.com/ePpBc8YNhJAsfR5.png

Bug: 265364379
Fix: 265364379
Test: manual
Change-Id: I20b06323db110fe4ab05fb51edcabc3bc2519456
2023-04-11 14:54:54 +08:00
Milton Wu
15267aab1f [BiometricsV2] IconTouchDialog continue enroll
When user clicks "OK" in FingerprintEnrollEnrollingIconTouchDialog,
continue enrolling.

Bug: 276416053
Test: atest FingerprintEnrollEnrollingViewModelTest
      FingerprintEnrollmentActivityTest
Test: Manually check enrolling status as clicking "OK" button on
      FingerprintEnrollEnrollingIconTouchDialog after enabling
      biometrics v2 v2 through feature flag.
Change-Id: I028723acfe35e5119e43b6860022c7432fc2ae0e
2023-04-11 14:39:59 +08:00
Edgar Wang
b5774a8e2e Disable developer options when development_settings_enabled is disabled
Bug: 270966670
Test: manual
Change-Id: If4296c564ee64804b35a3357f40f8d1d49cd284a
2023-04-11 13:44:02 +08:00
Angela Wang
11648c709e Merge "Fixes Flash Notification preview button alignment issue in RTL layout" into udc-dev 2023-04-11 04:25:36 +00:00
Chaohui Wang
4c1e924442 Merge "Display App installed in other user in All Apps" into udc-dev 2023-04-11 04:02:39 +00:00
Treehugger Robot
ecfd9d1cb4 Merge "[Regional Pref] Fix the line break in the temperature" into udc-dev 2023-04-11 03:16:21 +00:00
Chris Antol
a9a10fcb2c Merge "Update Settings owners list" am: 8bf186bcf8 am: 4e2050a17d am: 626dff2398
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2528132

Change-Id: I9004b6f0cd1cac6d242906378737072e76e6bac2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 01:53:33 +00:00
Treehugger Robot
c46dce4705 Merge "Fix broken settings intent CTS test" into udc-dev 2023-04-11 01:44:55 +00:00
Chris Antol
626dff2398 Merge "Update Settings owners list" am: 8bf186bcf8 am: 4e2050a17d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2528132

Change-Id: I67b9db14578c047f5a73e8c5fd975e0e8e955eb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 01:21:15 +00:00
Chris Antol
4e2050a17d Merge "Update Settings owners list" am: 8bf186bcf8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2528132

Change-Id: Ia2be910bc9aa3bf6d693f6012eeae94a51e27d64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 00:50:30 +00:00
Chris Antol
8bf186bcf8 Merge "Update Settings owners list" 2023-04-11 00:03:40 +00:00
Chris Antol
b5237e60d8 Update Settings owners list
Change-Id: If950f63c65ecc6313f7096c94c3a5a9bb48be529
2023-04-10 22:57:24 +00:00
Randy Pfohl
00d12bbe22 Merge "adding new animation to be used when gesture tutorial package is available" into udc-dev 2023-04-10 19:47:27 +00:00
Hao Dong
22c608be4d Merge "Show a dialog preventing face enrollment in split mode." into udc-dev 2023-04-10 18:58:27 +00:00
Becca Hughes
20cb8478d4 Fix broken settings intent CTS test
We originally added this data field to the SYNC_SETTINGS intent as a backup but since we have our own and this is breaking CTS. This reverts that change.

Test: make & CTS
Bug: 275385380
Change-Id: I0da949e4adea9c3c8dfdb61017afe6908e72147c
2023-04-10 16:03:27 +00:00
Zoey Chen
795d2574fc [Regional Pref] Fix the line break in the temperature
Bug: 276023859
Test: local test
Change-Id: Ib2c454cbf301295ef4baf423d2aae618742a0438
2023-04-10 14:53:16 +00:00
YK Hung
c429ca3e2f Merge "Add manual enabled battery saver reason (2/4)" into udc-dev 2023-04-10 14:03:33 +00:00
Angela Wang
0eeae4f8d0 Fixes Flash Notification preview button alignment issue in RTL layout
The preview button text is left-aligned in right to left language. Makes
it to be right-aligned with adding layout_gravity=start on the view.

Bug: 276608857
Test: checks the UI manually
Change-Id: I1322c1fcc433670863603c2d0b5438f39ecef998
2023-04-10 08:48:03 +00:00
Daniel Huang
3f16621b86 Merge "Touchpad settings' icons update" into udc-dev 2023-04-10 06:49:06 +00:00
Treehugger Robot
35f9d486a5 Merge "Ignore ActivityNotFoundException from app launch" into udc-dev 2023-04-10 06:48:17 +00:00
danielwbhuang
eaa6a03d65 Touchpad settings' icons update
Two icons need to be updated:
1. The touchpad speed setting inside of the touchpad settings
2. The bottom right tap setting inside of the touchpad settings

https://screenshot.googleplex.com/5QKLTwX8qNrnRsj.png
https://screenshot.googleplex.com/7iHNKwzwAZm5h8N.png

Bug: 269100659
Test: manual
Change-Id: I776e94325b1f54475f406a2fe11c4db4a0205f40
2023-04-10 06:35:24 +00:00
Tom Hsu
5240d251e1 Merge "Make all sim list by ordering with slot id" into udc-dev 2023-04-10 04:13:55 +00:00
Chaohui Wang
c688f93ed9 Display App installed in other user in All Apps
Only for admin user.

Also clean up unused getInstallationStatus().

Fix: 277299765
Test: Manually with All Apps when multiple users is on
Test: Unit test
Change-Id: I4de681c101a605e3517dcd8765bf7a95d1b76417
2023-04-10 03:06:01 +08:00
Elliot Sisteron
bc1ee1264b Merge "Change the label of CombinedBiometricProfileSettingsActivity." into udc-dev 2023-04-08 21:06:55 +00:00
Hao Dong
64277a23bb Show a dialog preventing face enrollment in split mode.
Test: atest CombinedBiometricProfileSettingsTest
Test: atest FingerprintSettingsFragmentTest
Test: manaul test- go to split screen mode and try to enroll
face
Bug: 276938441

Change-Id: I45e859b453700aa79f7774fb5deda81b1f30e5a5
2023-04-07 21:53:52 +00:00
Hao Dong
8930e6ea87 Merge "Update the limit of split screen dialog strings." into udc-dev 2023-04-07 20:43:39 +00:00
Florian Mayer
f58ea4671e Merge "Move bootloader_override property" into udc-dev 2023-04-07 20:06:25 +00:00
Hao Dong
9266101608 Update the limit of split screen dialog strings.
Bug: 277359484
Test: N/A
Change-Id: I006fa2bb26a5d2702af4bd9b2914278934ec4b1f
2023-04-07 19:25:11 +00:00