Commit Graph

98843 Commits

Author SHA1 Message Date
Wilson Wu
97635f53e6 Make on-screen keyboard settings support tab layout
Introduces following fragments for work flow.

- Add ProfileSelectKeyboardFragment which used to display
  personal/work fragment when user has work profile.
- Introduce UserAwareContext in AvailableVirtualKeyboardFragment
  to support personal/work user installed input methods handling.

Bug: 174360557
Bug: 197707782
Test: Manual test as bug video
Change-Id: I1019e375c5d42de7bc7c048d5d66e8e2f58acce8
2021-11-23 17:10:34 +08:00
Jernej Virag
266663a89b Merge "Add animation graphic to Long Press Power settings screen." into sc-v2-dev am: 6e82d4019d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16272558

Change-Id: I738b7a2b67125d11855261ef6f50d95ce68ce876
2021-11-23 08:52:50 +00:00
Raj Garg
b2f87d2dc1 Merge "Receiving a broadcast message when home screen is ready." 2021-11-23 08:51:46 +00:00
Jernej Virag
6e82d4019d Merge "Add animation graphic to Long Press Power settings screen." into sc-v2-dev 2021-11-23 08:35:38 +00:00
Tsung-Mao Fang
0e03b12d60 Fix abnormal behavior on search page
Prior to this cl, if user opens settings app
in single-pane first and navigates to
the search page, then rotate the device,
user observed the search page was still shown
with full screen.

Because we didn't register correct split rule,
it causes the abormal behavior on two-pane mode.
In order to register correct rule,  we also need
to assign correct component name while opening the
search page.

Fix: 206896763
Test: Rebuilt apk and verify the behavior
Change-Id: I7343467aa716d71da63f2ad0a034dc6c1b7fd415
2021-11-23 16:32:32 +08:00
Yi-Ling Chuang
4d3c51e434 Make fingerprint registration flow full screen am: 488211c752 am: b509b976ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16324224

Change-Id: Iba61aad9fa9483cd43a98240f3933783592998c6
2021-11-23 07:23:41 +00:00
jasonwshsu
a8442468ad Align the "Open activity" UI style with usual accessibility service "Use service"
Root Cause: "Open activity" Preference is not part of the widget SettingsMainSwitchBarPreference, so its UI style did not be inherited.

Solution: "Open activity" has different concept from switch bar, we need to manual set its bacground to comply with the SettingsLib style.

Bug: 207067203
Test: manual test
Change-Id: I66f63f6952e5c4770509febc0e53eca6dc6eedb9
2021-11-23 15:13:39 +08:00
Yi-Ling Chuang
b509b976ea Make fingerprint registration flow full screen am: 488211c752
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16324224

Change-Id: I777ae290ba96ff00da5d2b0e32a7a28a676dc692
2021-11-23 07:10:52 +00:00
Yi-Ling Chuang
488211c752 Make fingerprint registration flow full screen
Since the fingerprint registration sometimes has a hardware dependency,
to bring a better UX, make the flow full screen on large screen devices.

Bug: 197717071
Test: Try to register a new fingerprint and see the pages are full
screen.

Change-Id: I5dcb720a8b6a58bd9fc67ecae35f730c20a2c4d3
2021-11-23 11:39:43 +08:00
Tsung-Mao Fang
e260ebe157 Fix talkback issue on Subsettings
Set window title for activity, so it won't announce
"Settings" again.

Test: Run the talkback and do not observe issue
Fix: 200749911
Change-Id: Ied973916bdd43562424b97eadea2b3a413c712ec
2021-11-23 11:35:09 +08:00
Joe Bolinger
d00fd7f362 Remove face auth from setup wizard when configured as a convenience.
Fix: 206867696
Test: manual (enroll via SUW with/without unicorn)
Change-Id: I41bf7488cf30ffe3e0d09282e923347c7f5938df
2021-11-23 00:59:31 +00:00
Joshua Mccloskey
e711b3277e Disable setting if sensor is convenience.
This change disables the FaceSettings Confirmation setting if a
sensor is convenience. This is due to the fact that convenience strength
sensors can't be used by BiometricPrompt (so this setting has no
effect.)

Test: Verified this setting shows depending on whether or not the sensor
is convenience or not.
Fixes: 204137656

Change-Id: I88daf9f12b76d06697275161385f463fb88e0f3a
2021-11-22 13:49:17 -08:00
Jack Yu
a88ab65024 Merge "NFC support in work profile" am: c2647199ce am: 79675e89f2 am: 3ccf7e29f8 am: 9a0ab00ac4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1856215

Change-Id: Iba1aa937305510540c04468966e62d7d3c5c10f9
2021-11-22 11:34:56 +00:00
Jack Yu
9a0ab00ac4 Merge "NFC support in work profile" am: c2647199ce am: 79675e89f2 am: 3ccf7e29f8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1856215

Change-Id: Ib97dd1b197a362258552a45d7d9b40565da96cb5
2021-11-22 11:23:29 +00:00
Jack Yu
3ccf7e29f8 Merge "NFC support in work profile" am: c2647199ce am: 79675e89f2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1856215

Change-Id: I6526b8a3f83c72870a93777d37242f1fb191568f
2021-11-22 11:12:20 +00:00
Jack Yu
79675e89f2 Merge "NFC support in work profile" am: c2647199ce
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1856215

Change-Id: Iac30f77fd5d732bb3b50fc531600fed02d477919
2021-11-22 11:00:16 +00:00
Jack Yu
c2647199ce Merge "NFC support in work profile" 2021-11-22 10:45:44 +00:00
SongFerng Wang
af10ccea9b Merge "[MEP] eSIM deprecated API Refactoring" 2021-11-22 06:53:38 +00:00
Jason Chiu
90eef24080 UI refinement of highlighted menu entry for large screen
- Add a new highlight background drawable
- Add two homepage specific preferences for the new layout design

Fix: 207079684
Test: visual
Change-Id: I20c80da090a03129bffa845d443ee5d1ad13b97b
2021-11-22 12:36:05 +08:00
Jason Hsu
db92e640b2 Merge "Remove the 'new' word for accessibility gesture tutorial dialog" into sc-v2-dev am: 37ec371fb9 am: 821a439085
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16302388

Change-Id: Ie429b8be9e7eec77389c7c25a4b0300ce88bc69f
2021-11-22 04:22:40 +00:00
Jason Hsu
821a439085 Merge "Remove the 'new' word for accessibility gesture tutorial dialog" into sc-v2-dev am: 37ec371fb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16302388

Change-Id: I382f694fa9c17cee63ce5da9d68fffedfc3bcea3
2021-11-22 04:11:32 +00:00
SongFerngWang
73f1633973 [MEP] eSIM deprecated API Refactoring
The telephony APIs were changed, the Settings needs the refactoring.

Bug: 206801604
Test: build pass.
atest QuerySimSlotIndexTest (PASS)
atest SelectableSubscriptionsTest (PASS)

Change-Id: Ic3244333b7d3750b88ecb3dbc5d7036da50b9d4d
2021-11-22 12:03:46 +08:00
Jason Hsu
37ec371fb9 Merge "Remove the 'new' word for accessibility gesture tutorial dialog" into sc-v2-dev 2021-11-22 03:57:40 +00:00
TreeHugger Robot
ddb2a57d7a Merge "Redesign homepage layout for two-pane mode." into sc-v2-dev am: 4e78e0923f am: 1e160f1799
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16263227

Change-Id: Ie73b68cce81c56a39be87c0da665247bd26d1da1
2021-11-22 02:52:51 +00:00
TreeHugger Robot
1e160f1799 Merge "Redesign homepage layout for two-pane mode." into sc-v2-dev am: 4e78e0923f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16263227

Change-Id: I8758e0687986f5ea7ee4afa2a87e4add947fb07d
2021-11-22 02:41:09 +00:00
TreeHugger Robot
4e78e0923f Merge "Redesign homepage layout for two-pane mode." into sc-v2-dev 2021-11-22 02:28:27 +00:00
Weng Su
5c00d3c074 SoftAp: Use toString() API in place of toBinaryString for indexes
Security option index values are currently converted using
toBinaryString() which converts indexes to binary String. Thus
index values doesn't match the expected Security config values in
SoftApConfiguration.

This commit uses toString() API to avoid index mismatch.

Bug: 197497991
Test: manual test
atest -c WifiTetherSecurityPreferenceControllerTest

Change-Id: I43d236d071a8141845f312c63b1a693fde254358
2021-11-19 23:03:32 +08:00
TreeHugger Robot
0b911cf91c Merge "Fix ACTION_ONE_HANDED_SETTINGS breaks CTS IntentTest" 2021-11-19 09:53:15 +00:00
jasonwshsu
7259d14324 Remove the 'new' word for accessibility gesture tutorial dialog
Root Cause: We merge back accessibility gesture feature into sc-v2, but
the tutorial dialog is still the original content.

Solution: Since it is not the new feature anymore, we just want to
introduce the feature, so remove the 'new' word.

Bug: 204850690
Test: manual test
Change-Id: I38aff0cee6779153066e414e654611fa83d0a533
2021-11-19 17:06:59 +08:00
Bill Lin
4d0cc7a1e3 Fix ACTION_ONE_HANDED_SETTINGS breaks CTS IntentTest
The CTS test will check new added intent is expected or not
android.signature.cts.intent.IntentTest#shouldNotFindUnexpectedIntents

If the new added intent should belong to allow list,
we should add it into
cts/tests/signature/intent-check/DynamicConfig.xml

However, in One handed mode case, I think it's make
sense to define in settings provider
frameworks/base/core/java/android/provider/Settings.java

Test: atest android.signature.cts.intent.IntentTest
Fixes: 206824091
Fixes: 206989400
Change-Id: Ic32a65ee113df603a0adbfa3e52f1a48386ad899
2021-11-19 15:43:55 +08:00
Bonian Chen
8bb198a7d4 [Settings] Remove the capital of 2nd wording
2nd wording should avoid from capital.

Bug: 191525963
Test: local
Change-Id: I55b188df04ac0a88062a24492f44534a7d61a05b
2021-11-19 13:17:49 +08:00
Bonian Chen
a81acf8a26 [Settings] Remove space before WiFiCalling description
Align the description part to upper left corner of the description area.

Bug: 191525963
Test: local
Change-Id: I8bbe6c653c51b8ca43d936e50166f0f8bfb1acdc
2021-11-19 13:13:53 +08:00
Jason Chiu
bb46bb79bf Disable animations of deep link homepages to reduce the shortcut flicker
Bug: 203744424
Test: manual
Change-Id: I7806d732be99425e98db615474bdd83e42dc072e
2021-11-19 12:44:41 +08:00
Joshua Mccloskey
7c0111b0f1 Updated udfps strings
Test: Verified during enrollment that strings are correct
Fixes: 199192320
Change-Id: I9d1dd8e9be6c4d714f24dcea3c6d6de7f218dd26
2021-11-18 16:36:26 -08:00
Xin Li
128d733d18 [automerger skipped] Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 am: bf45599d43 -s ours am: 69e79704e3 -s ours am: 3332b73738 -s ours
am skip reason: Merged-In I9ac05f5da437030e1b5db082ddaf7959f82acccd with SHA-1 d3f9214763 is already in history

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

Change-Id: I3077fe21b6acaffb2ff47b4fb1b10d2bea6b1af9
2021-11-18 22:37:53 +00:00
Xin Li
3332b73738 [automerger skipped] Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 am: bf45599d43 -s ours am: 69e79704e3 -s ours
am skip reason: Merged-In I9ac05f5da437030e1b5db082ddaf7959f82acccd with SHA-1 d3f9214763 is already in history

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

Change-Id: I7d4b9af134809d835f1e82cb7c3e26dd1e59eb6c
2021-11-18 22:25:14 +00:00
Kevin Han
d4f722639b Merge "Unhibernate an app when a user exempts it" into sc-v2-dev am: 83a8b76ec2 am: 6dc2c76da0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16286576

Change-Id: I205baa98e5f7363fbd9b301e35ecff7ca9a5ea31
2021-11-18 22:10:11 +00:00
Xin Li
69e79704e3 [automerger skipped] Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 am: bf45599d43 -s ours
am skip reason: Merged-In I9ac05f5da437030e1b5db082ddaf7959f82acccd with SHA-1 d3f9214763 is already in history

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

Change-Id: Ibb132379ab32739f0c9bdc29ded3159775eb884e
2021-11-18 22:00:58 +00:00
Kevin Han
6dc2c76da0 Merge "Unhibernate an app when a user exempts it" into sc-v2-dev am: 83a8b76ec2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16286576

Change-Id: Icacd93b1f5b0cfe950dd4e4ccc0f8081ad1d58c3
2021-11-18 21:58:23 +00:00
Kevin Han
83a8b76ec2 Merge "Unhibernate an app when a user exempts it" into sc-v2-dev 2021-11-18 21:37:46 +00:00
TreeHugger Robot
f5571f3cf2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: ebd2e1f662 -s ours am: 9adb10d6fc -s ours am: 03b049e8cd -s ours am: 3af8d0fdf4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4efa9937ddd9a741baff64e46de112b5e46b361c
2021-11-18 20:34:55 +00:00
TreeHugger Robot
533f5cbf3d Merge changes from topic "presubmit-am-54d98b71e97148f688d58b0d364066e1" into sc-qpr1-dev am: 6cae0edae1 am: 20a56f067a am: 1c1cca3fa8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16294832

Change-Id: I1854e8d0af7e0a906c63ec458ee4d3d8088f9b8c
2021-11-18 20:34:12 +00:00
Bill Yi
85e3b073fc [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 10928bfba9 am: 61505e7824 -s ours am: 24060f7b4f -s ours am: 8cfcd3f8bb -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iba090529d3ee81c6043ab9988b72f5b032da7ad6
2021-11-18 20:34:10 +00:00
TreeHugger Robot
8ccbebbf17 Merge changes from topic "presubmit-am-c2ea559653ab4e82ba8bececc8170921" into sc-qpr1-dev am: 1ed1be15d8 am: 0b90ee1161 am: 4650df393f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16292440

Change-Id: Ia652c06bf3986fa9dcc7bdfa3539886393fcb3b2
2021-11-18 20:33:18 +00:00
Bill Yi
05f9d7c38f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: b8b0bef8f9 am: d86da91c3e -s ours am: 6caa602d7c -s ours am: f9aa5fb568 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iabe6de6a82559430537d358ba880657dcbac9645
2021-11-18 20:33:16 +00:00
TreeHugger Robot
57a691f561 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: fda2135c78 -s ours am: 1570dd46ac -s ours am: bc3feb94f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5d6d4e60c7d14b169cc1d9e55fdea8556070032d
2021-11-18 20:32:14 +00:00
TreeHugger Robot
dbecb19fde [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 277f726266 -s ours am: 008f9a695a -s ours am: 0435e675b8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If39c7878f22867b1cfea61ba3a160174b51023dc
2021-11-18 20:31:32 +00:00
TreeHugger Robot
0ab294fe55 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 6def0ab1ed -s ours am: d797c14cb4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2c54440e2823aef523f71266bb46e1ca49fed2b1
2021-11-18 20:30:58 +00:00
TreeHugger Robot
145afdc7cf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 3b9da31dfb -s ours am: 319d3ba8ad -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9871fd99c464c06048b8222a63849d8886e37fa6
2021-11-18 20:29:36 +00:00
Zoey Chen
54c11f53cc Merge changes I7d29b58c,I2f1d22fb,I55e0fa2c into sc-v2-dev am: c8ee867f2d am: ca02377238
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16262278

Change-Id: Id27a7fed84ef5e33edddc4e951b77d7705d8e9be
2021-11-18 20:27:46 +00:00