Commit Graph

98587 Commits

Author SHA1 Message Date
Lais Andrade
24b2d9e5a1 Move APPLY_RAMPING_RINGER from Global to System
This configuration should be user-scoped.

Bug: 184165158
Test: AccessibilitySettingsTest
      RingVibrationPreferenceFragmentTest
      VibrateForCallsPreferenceControllerTest
      VibrateForCallsPreferenceFragmentTest
Change-Id: I7b8684fb1cf03d41872a700fd8732c76422e37c3
2021-11-23 14:51:55 +00:00
TreeHugger Robot
74a797efd8 Merge "Fix NPE on UsbManager in w/o usb devices" 2021-11-23 12:38:46 +00:00
Weng Su
e8cdb83f08 Merge "SoftAp: Use toString() API in place of toBinaryString for indexes" 2021-11-23 11:51:23 +00:00
TreeHugger Robot
56106dc16f Merge "Fix abnormal behavior on search page" into sc-v2-dev am: ee18babe99 am: d61e61e630
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16284151

Change-Id: I41955dcfe3f4886776d958233c078c5d11a9558f
2021-11-23 10:07:52 +00:00
TreeHugger Robot
d61e61e630 Merge "Fix abnormal behavior on search page" into sc-v2-dev am: ee18babe99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16284151

Change-Id: I19a8fb6310cc3399291fe38f6026d1b751390e24
2021-11-23 09:51:44 +00:00
TreeHugger Robot
ee18babe99 Merge "Fix abnormal behavior on search page" into sc-v2-dev 2021-11-23 09:38:20 +00:00
Jernej Virag
a6f29f4db8 Merge "Add animation graphic to Long Press Power settings screen." into sc-v2-dev am: 6e82d4019d am: 266663a89b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16272558

Change-Id: I70b85163ea4f8534f282933de2d831ae1cb740f7
2021-11-23 09:19:01 +00:00
Hugh Chen
f5a236e0e8 Fix NPE on UsbManager in w/o usb devices
Bug: 206987614
Test: make -j64 RunSettingsRoboTests
Change-Id: I9ed4c2e803f3e7018518380667658ca0015f31a7
2021-11-23 09:11:22 +00: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
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
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 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
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
Jason Chiu
ed406e779c Merge "Start deep link page synchronously in SettingsActivity" into sc-v2-dev am: b4d3278a45 am: e7a681748e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16263226

Change-Id: I937db64f2c4ab9dfb82637bc7c775c05c4383fb6
2021-11-18 20:26:23 +00:00
Jason Hsu
ab4e03b75d Merge "Provide ability to link to Color Inversion page via Intent" into sc-v2-dev am: 0a8f978357 am: 105bca800a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16013675

Change-Id: Ie658368403f9564a4a5580e55e22ec5862fe6f2d
2021-11-18 20:25:17 +00:00