Commit Graph

39144 Commits

Author SHA1 Message Date
menghanli
c472d0277f Update accesibility button to suuport accessibility gesutre
1. Add gesture preference controller for gesture navigation
2. Auto update the preview illustarion when screen reader is on
3. Auto update accessibility button title for system navigation

Bug: 190563948
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityButtonGesturePreferenceControllerTest ROBOTEST_FILTER=AccessibilityButtonPreviewPreferenceControllerTest ROBOTEST_FILTER=AccessibilityLayerDrawableTest ROBOTEST_FILTER=AccessibilityPreferenceControllerTest ROBOTEST_FILTER=AccessibilityButtonFooterPreferenceControllerTest
Change-Id: Ifa98fc029430d86d3143133b3203b239340f2e41
2021-07-15 11:11:17 +08:00
Beth Thibodeau
647b3ef070 Remove lockdown toggle
This button will be on by default now, so remove the switch

Bug: 185618694
Test: build
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.display
Change-Id: Iecbeb590a5b750ec2fcf9c31fece5814241200b1
2021-07-14 19:39:30 -04:00
Peter Wang
ecdd0bc4be Merge "Add a cancel string for ToggleSubscriptionDialog to handle Tamil translation" 2021-07-14 17:12:08 +00:00
TreeHugger Robot
f916865b66 Merge "Fix switch listener on app notif page" into sc-dev am: bef076df47 am: 8bb404d5ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15273047

Change-Id: Ia14df74bb42ecd2689359cf29bf22fcecabc4e52
2021-07-14 16:06:16 +00:00
TreeHugger Robot
882c3d1bf6 Merge "Fix switch listener on app notif page" into sc-dev am: bef076df47 am: 3a294b375f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15273047

Change-Id: I2736c2213494c500a364c4e145e071305654dae2
2021-07-14 16:05:52 +00:00
TreeHugger Robot
8bb404d5ae Merge "Fix switch listener on app notif page" into sc-dev am: bef076df47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15273047

Change-Id: I4928c1a96fafefa6039a89f6c03e832c9cffd1e0
2021-07-14 15:54:32 +00:00
TreeHugger Robot
000c7a897b Merge "Fix switch listener on app notif page" into sc-dev am: bef076df47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15273047

Change-Id: I7725f5c5dff01e1840072518f21e0ae661cd9238
2021-07-14 15:52:07 +00:00
TreeHugger Robot
bef076df47 Merge "Fix switch listener on app notif page" into sc-dev 2021-07-14 15:41:04 +00:00
SongFerng Wang
139651a789 Merge "Change the condition for showing "no connection"" into sc-dev am: 7429fd1315 am: d1ef148261
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270340

Change-Id: Ie3371e200043b0ef96513028d6de6a4cb03b37e8
2021-07-14 15:08:03 +00:00
SongFerng Wang
a6031dd976 Merge "Change the condition for showing "no connection"" into sc-dev am: 7429fd1315 am: 7a6887cf44
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270340

Change-Id: I639f8fb357aa7d886b311b5082a055e79989fda8
2021-07-14 15:08:02 +00:00
SongFerng Wang
d1ef148261 Merge "Change the condition for showing "no connection"" into sc-dev am: 7429fd1315
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270340

Change-Id: Iae9b006e208a71750b5529c518e63f0d8a119c74
2021-07-14 14:54:55 +00:00
SongFerng Wang
9bfa6c19d0 Merge "Change the condition for showing "no connection"" into sc-dev am: 7429fd1315
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270340

Change-Id: I61b5feed494b241832062d461634fa3f9fefd5e3
2021-07-14 14:53:57 +00:00
SongFerng Wang
7429fd1315 Merge "Change the condition for showing "no connection"" into sc-dev 2021-07-14 14:38:00 +00:00
Julia Reynolds
e41c89da2a Fix switch listener on app notif page
Test: RoboTests, manually change setting
Fixes: 193442605
Change-Id: Ie93469479e252811921a6451853b073dadb0d0a1
2021-07-14 10:31:30 -04:00
Weng Su
5a916eaaf9 Fix the NPE issue in the Internet Settings
- Missing to remove the mRemoveLoadingRunnable in the onStop() function, which will cause the callback to run after the fragment is destroyed and encounter this NPE issue.

Bug: 193405782
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I48b85173db1e6689dd056ba71f2fac776ffabbc9
2021-07-14 14:27:39 +00:00
Menghan Li
1091dca586 Merge "Provides TC ID for accessibility framework feature for "about" and "learn more" part" into sc-v2-dev am: 7f907d35cd am: e8cba63525
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175506

Change-Id: I4466b80721a6fe0356d120cef790dad6f6c86358
2021-07-14 12:12:06 +00:00
Menghan Li
e8cba63525 Merge "Provides TC ID for accessibility framework feature for "about" and "learn more" part" into sc-v2-dev am: 7f907d35cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175506

Change-Id: Ie28863b4fe41b5d4c4e83c541be546aab13b3f68
2021-07-14 11:59:46 +00:00
Menghan Li
7f907d35cd Merge "Provides TC ID for accessibility framework feature for "about" and "learn more" part" into sc-v2-dev 2021-07-14 11:48:24 +00:00
Menghan Li
e34c3a7dd9 Merge "Update OWNERS for package settings > accessibility" am: f36c2bc0a4 am: be1e8a077b am: a8c91cd5c3 am: 45a8616a55
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1765529

Change-Id: Iec715530e2606cca0b6f7339d20df35416ef8b49
2021-07-14 10:32:47 +00:00
Menghan Li
45a8616a55 Merge "Update OWNERS for package settings > accessibility" am: f36c2bc0a4 am: be1e8a077b am: a8c91cd5c3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1765529

Change-Id: I4809783467ed50ba86aee39e2de596aed1ad1360
2021-07-14 10:21:39 +00:00
Menghan Li
a8c91cd5c3 Merge "Update OWNERS for package settings > accessibility" am: f36c2bc0a4 am: be1e8a077b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1765529

Change-Id: I8eae86bc892cd045ee8d4c01cbbcc493dca85f71
2021-07-14 10:09:56 +00:00
Zoey Chen
ab8a922f77 [Provider Model] Redirect Settings Internet panel request to SystemUI.
From QPR, the panel should be launched from SystemUI, so redirect the panel to SystemUI

Test: make
Bug: 187779230
Change-Id: I5b4131c4d986399944c038f8bce0723fcb5ba3b3
2021-07-14 09:06:46 +00:00
Wilson Wu
9112e238a6 Merge "Remove direct IMMS dependency from DevelopmentTiles" 2021-07-14 09:00:31 +00:00
menghanli
bae720ffc3 Provides TC ID for accessibility framework feature for "about" and "learn more" part
Goal: Improve readability which is a bit difficult because of string concatenation for accurate translation.
Root cause: In some locales, framework features name would be a word rather than a product name. Hence it need to be in the different position in a sentence.
Solution: Use whole sentence to translate instead of concatenating the string could solve this issue.

Bug: 185478543
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityFooterPreferenceControllerTest
Change-Id: Id198805329be9c773df87f38a074ae956e4d0cdb
2021-07-14 15:15:48 +08:00
menghanli
b537d169b4 Update OWNERS for package settings > accessibility
Bug: 193589847
Test: Manual
Change-Id: I57d27181d83cf47df9f4d0d359a2d76df3e3c91a
2021-07-14 14:16:35 +08:00
SongFerngWang
5f8f44c720 Change the condition for showing "no connection"
The "no connection" should be shown in no data cell connection.

Bug: 193273081
Test: atest passed
 - SubscriptionsPreferenceControllerTest.java
 - ProviderModelSliceHelperTest.java
 - ProviderModelSliceTest.java
 - NetworkProviderWorkerTest.java

Change-Id: Ied8a34d13d4bfc81e9136e05ba41cbb4233c9ad8
2021-07-14 02:49:36 +00:00
Peter Wang
ee1893af6e Add a cancel string for ToggleSubscriptionDialog to handle Tamil
translation

Bug: 185553806
Test: Build
Change-Id: I90149c9e4459747d8cd1c35d00c29f81710eb6f4
2021-07-13 17:13:47 -07:00
Curtis Belmonte
f0aadce0d6 Merge "Add "eyes open" setting message to face enroll intro" into sc-dev am: e796b8bf6e am: b7c2a07117
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15147510

Change-Id: I609f5f3264ddb862ab0d19fb7ba36494d0f87f94
2021-07-13 17:01:01 +00:00
Curtis Belmonte
541b30dadb Merge "Add "eyes open" setting message to face enroll intro" into sc-dev am: e796b8bf6e am: cfe62d534c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15147510

Change-Id: Ic94a1fa3d30294cf4bdb20b20a3494dbd3d14313
2021-07-13 17:00:08 +00:00
Curtis Belmonte
9683efd43f Merge "Add "eyes open" setting message to face enroll intro" into sc-dev am: e796b8bf6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15147510

Change-Id: I2991e2efc7f0ecc56c8b34ed6ab8bbb42e8d22a3
2021-07-13 16:46:51 +00:00
Curtis Belmonte
b7c2a07117 Merge "Add "eyes open" setting message to face enroll intro" into sc-dev am: e796b8bf6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15147510

Change-Id: I68d7b957f9910d2328dbec028ee292a17723ed7a
2021-07-13 16:45:24 +00:00
Curtis Belmonte
e796b8bf6e Merge "Add "eyes open" setting message to face enroll intro" into sc-dev 2021-07-13 16:36:53 +00:00
Quang Luong
373b7cb089 Merge "Revert "Rename Enhanced MAC Randomization to Non-Persistent"" 2021-07-13 15:45:51 +00:00
Bonian Chen
0a21b821ac Merge "[Settings] Settings within each SIM not been displayed to the user" into sc-dev am: 92e82aa07e am: d72cf9a10b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15076790

Change-Id: I2e5e842cb54419ccda06e87d807d8b0ee03959ce
2021-07-13 15:15:40 +00:00
Bonian Chen
d0fabb37df Merge "[Settings] Settings within each SIM not been displayed to the user" into sc-dev am: 92e82aa07e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15076790

Change-Id: I3d36d901fe95e9f4e5ab09c8f1cbe606dc7427df
2021-07-13 14:58:00 +00:00
Bonian Chen
d72cf9a10b Merge "[Settings] Settings within each SIM not been displayed to the user" into sc-dev am: 92e82aa07e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15076790

Change-Id: I370e04ab8c7ebcda3ef40c3b858b2c24da9d9d10
2021-07-13 14:57:29 +00:00
Wilson Wu
a8021e3380 Remove direct IMMS dependency from DevelopmentTiles
Using ImeTracing instead of IInputMethodManager so we
can get rid of the direct dependency between Settings
DevelopmentTiles and IInputMethodManager.

Bug: 175742251
Test: Manually test ime winscope works properly
Test: make RunSettingsRoboTests ROBOTEST_FILTER="WinscopeTraceTest"
Change-Id: I87e6e841a50b671b7f99c7afff562f3b9a6e3db9
2021-07-13 18:02:41 +08:00
TreeHugger Robot
23bf780529 Merge "[Settings] Fix RTL issue of Calls and SMS" 2021-07-13 07:14:49 +00:00
Bonian Chen
83b2253048 [Settings] Settings within each SIM not been displayed to the user
The display of content is in majority depending on the callback result
of SIM card (in order to display the content).

However, to reduce the number of access of SubscriptionManager and
improve performance, a proxy has been design in between to reduce the
traffic and the latency required.

Within this situation, content didn't get displayed when Activity get
restarted since Proxy avoid to reduce the traffic through reducing the
callback to the Activity and even not generating request for update when
Activity resume.

Bug: 188982508
Test: local & unit test
Change-Id: Ia3b946a853f87a469ce07a398f3811f605d38f1d
2021-07-13 06:58:10 +00:00
Bonian Chen
263c3eab44 Merge "[Settings] Hide subscriptions not existed within device" into sc-dev am: 9c1e8b7ccd am: 0cce02c985
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15220210

Change-Id: Iba5db461202a139d583f122bd4ef5048c0e20085
2021-07-13 06:30:35 +00:00
Bonian Chen
14e3cf37f7 Merge "[Settings] Hide subscriptions not existed within device" into sc-dev am: 9c1e8b7ccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15220210

Change-Id: I17ab0779c169ec63959325a752abe9f20151155e
2021-07-13 06:21:28 +00:00
Bonian Chen
0cce02c985 Merge "[Settings] Hide subscriptions not existed within device" into sc-dev am: 9c1e8b7ccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15220210

Change-Id: Ic019f1fb87a4f37c547c16aa6fb5189d108b3ff0
2021-07-13 06:17:04 +00:00
Rajeev Kumar
41af063858 Merge "Enable hibernation by default for Settings" into sc-dev am: 6311d1fe0d am: 2a5fb15097
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15167350

Change-Id: I09b4e8d3c90d2c4f89348bae948cb069ea721ec5
2021-07-13 06:09:09 +00:00
Rajeev Kumar
aada2886f6 Merge "Enable hibernation by default for Settings" into sc-dev am: 6311d1fe0d am: a0065f01d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15167350

Change-Id: I240c8c8a5f9280040dd621dfb3cb3d66197f2bb4
2021-07-13 06:08:43 +00:00
Bonian Chen
9c1e8b7ccd Merge "[Settings] Hide subscriptions not existed within device" into sc-dev 2021-07-13 06:08:17 +00:00
Rajeev Kumar
21d1d772a2 Merge "Enable hibernation by default for Settings" into sc-dev am: 6311d1fe0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15167350

Change-Id: Idf6f326627419c2952d3b14dbc61c69ffb640e7d
2021-07-13 05:49:51 +00:00
Rajeev Kumar
2a5fb15097 Merge "Enable hibernation by default for Settings" into sc-dev am: 6311d1fe0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15167350

Change-Id: Ia9fa607e0a9fe4cba4d425a634659676e6af09c6
2021-07-13 05:48:59 +00:00
Zoey Chen
54bd206fbc [Settings] Fix RTL issue of Calls and SMS
Screenshot: https://screenshot.googleplex.com/9BqEh99vz7xp2g4.png

Bug: 189300799
Test: make
Change-Id: I022253efbe0ea25f11d5ac6c2b3b0fcd1d9f54aa
2021-07-13 13:39:52 +08:00
Rajeev Kumar
6311d1fe0d Merge "Enable hibernation by default for Settings" into sc-dev 2021-07-13 05:35:34 +00:00
Curtis Belmonte
68c12f2e04 Add "eyes open" setting message to face enroll intro
Adds an additional message about the "Require eyes to be open" setting
for Face Unlock to the intro/consent screen of enrollment, gated by a
config flag.

Test: Manual

Bug: 192272785
Change-Id: Idcd2395a290b74f4578898fdfebd05b81cd74075
2021-07-12 17:05:45 -07:00