Commit Graph

43305 Commits

Author SHA1 Message Date
TreeHugger Robot
59b2b4ae9f Merge "Add refresh broadcast id checks" into tm-dev am: cd2d6f3e25 am: 9eb63d4865
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18352143

Change-Id: I813b9ec329fc3c1e4d56afa89459f3436e785d5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 14:36:31 +00:00
SongFerng Wang
812bd83940 Merge "[LE broadcase sink] The LE device's isGroupOp is true" into tm-dev am: 8492dbb081 am: e0689d0fac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18349647

Change-Id: Icb679473b6f5cc0a548fcdf798a2076e79f87227
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 14:35:57 +00:00
TreeHugger Robot
cd2d6f3e25 Merge "Add refresh broadcast id checks" into tm-dev 2022-05-13 14:18:44 +00:00
TreeHugger Robot
1aa4854d09 Merge "Support the managed profile deep links for large screen" into tm-dev am: 9c3c55ecd0 am: b28321308a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18356912

Change-Id: I1f1d857514d0f1ca41bdf4967ebe7584c14fba52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 13:59:55 +00:00
TreeHugger Robot
5305c77502 Merge "Update maximum length of device name for WiFi direct settings" into tm-dev am: b2eb731216 am: 560ecc08a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18356916

Change-Id: I86ac6b22d007eddd7ed024eac46fdbb24cae06f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 13:59:37 +00:00
SongFerng Wang
8492dbb081 Merge "[LE broadcase sink] The LE device's isGroupOp is true" into tm-dev 2022-05-13 13:56:47 +00:00
TreeHugger Robot
9c3c55ecd0 Merge "Support the managed profile deep links for large screen" into tm-dev 2022-05-13 13:10:40 +00:00
PETER LIANG
3081e4d869 Merge "Updates the padding of the reset button to meet for SetupWizard style." into tm-dev am: fc481ece26 am: 411bcd1c43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18349802

Change-Id: I2a3f032e01c55be88fdac31a1d671f43edfcd438
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 12:53:43 +00:00
PETER LIANG
f277c9df40 Merge "Fix that once the phone is rotated to portrait orientation, the "Use TalkBack" toggle is truncated." into tm-dev am: ae1d7d3ef4 am: 50bc59a572
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18356908

Change-Id: Iba3e4b7cea8290da38ed7b3b85edc6595f22bb3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 12:53:33 +00:00
TreeHugger Robot
b2eb731216 Merge "Update maximum length of device name for WiFi direct settings" into tm-dev 2022-05-13 12:53:22 +00:00
PETER LIANG
fc481ece26 Merge "Updates the padding of the reset button to meet for SetupWizard style." into tm-dev 2022-05-13 12:01:18 +00:00
PETER LIANG
ae1d7d3ef4 Merge "Fix that once the phone is rotated to portrait orientation, the "Use TalkBack" toggle is truncated." into tm-dev 2022-05-13 12:00:58 +00:00
Giulio Fiscella
de0c2a08dd Add refresh broadcast id checks
Test: atest SettingsUnitTests
Bug: 224522714
Change-Id: Id49767c27ecd842fc9d886cbf5bc0eee9eabc775
2022-05-13 11:20:05 +00:00
Zoey Chen
f3f145f202 Merge "[Le Audio] Move BT QR code scanner from Settingslibs to Settings" into tm-dev am: 8045522453 am: cd6715a06e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18332085

Change-Id: I2c5db50f50a06b1ba73deacb4779cf55ebacd588
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:46:01 +00:00
Zoey Chen
8045522453 Merge "[Le Audio] Move BT QR code scanner from Settingslibs to Settings" into tm-dev 2022-05-13 10:27:42 +00:00
Chaohui Wang
399b39a559 Merge "Fix Change link is not clickable in Internet" into tm-dev am: 92caf1c737 am: 2fdf37432e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18367743

Change-Id: I77603e0cb4520130c738f2cd70e7b080acc441c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:27:37 +00:00
Arc Wang
48fb5d3d71 Merge "Show USB flash drive in storage spinner when it's unmounted" into tm-dev am: e6389f63c2 am: c047088e25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18234986

Change-Id: Ic771a2ede8826ed8827edd26525d33c25b29d373
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:27:21 +00:00
Calvin Pan
54ceef1157 Merge "Add log for user language selection" into tm-dev am: a264bc2092 am: 3fa5781abf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18350149

Change-Id: Iecbc20adb2ac4fb1b9d67509e5429e07fd1b3b89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:27:04 +00:00
Weng Su
0c85b3ff3a Merge "Avoid unnecessary stopTethering when startTethering fails" into tm-dev am: 670070528c am: 3bd8ea7c89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18350145

Change-Id: I41c16c7835eef7c96ab6612c0a9c9ba295e684cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:26:46 +00:00
Weng Su
0bae864d94 Merge "Get app label by launched package" into tm-dev am: bbeed14835 am: 852847efb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18321386

Change-Id: Ibb93602ff28136d055b149f41f92703e37ecc690
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:26:31 +00:00
SongFerng Wang
ef41680cd9 Merge "[BT LE broadcast sink] Initialize the sourceId" into tm-dev am: eb254aa0c3 am: db95dc7cae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18350763

Change-Id: I494532cf01dceb83c481cb748514dab782d0f0dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:26:02 +00:00
Bonian Chen
ab16549ab3 Merge "[Settings] Expand scrollable area of Wifi calling UI" into tm-dev am: 69c13dd49b am: 4f14a282ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18335865

Change-Id: I53fb58dc35d61c4f4acba8f7adc06ea905dd51ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:24:59 +00:00
Jay Sullivan
c4a1fbcd45 Merge "Implement "More privacy settings"" into tm-dev am: e26d2187d2 am: 2eb54664d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18164269

Change-Id: Icde88630321d44440e696045587d1a9bf4acdb3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:22:38 +00:00
SongFerngWang
5f168b333a [LE broadcase sink] The LE device's isGroupOp is true
Bug: 228259065
Test: build pass
Change-Id: Ibaa8d9c8374c263fe1f2a345db1b3254ba396f02
2022-05-13 17:57:19 +08:00
Weng Su
edf8c5dc89 Update maximum length of device name for WiFi direct settings
- Changed the maximum length of the device name from 30 to 22 as recommended by the WiFi framework.

Bug: 231980298
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest

Change-Id: I3bbfca9e2804c4dc65cb20132c402e87f65c0c27
2022-05-13 17:12:30 +08:00
Jason Chiu
1b1c07afc4 Support the managed profile deep links for large screen
Homepage is not allowed to be started as a non-primary user.

In the managed profile deep link case, we create a bridge to start the
homepage as the primary user, and then start the target page as the
given managed user.

Bug: 222447112
Test: manual, robotest
Change-Id: I07dbec3b7eaff983f9860480a0a2f7b0e6f1fb43
2022-05-13 17:00:45 +08:00
Peter_Liang
f659095c07 Fix that once the phone is rotated to portrait orientation, the "Use TalkBack" toggle is truncated.
Goals:
1. Extends the api of apply partner's customization padding style in the Settings widget "SettingsMainSwitchPreference" to dynamically adjust the padding depending on the SetupWizard library.
2. Use the function to avoid the button being truncated.

Bug: 231512916
Test: manual test
Change-Id: I951776185eb1616136d9caf3a60f9daea4da191a
2022-05-13 08:44:18 +00:00
Chaohui Wang
92caf1c737 Merge "Fix Change link is not clickable in Internet" into tm-dev 2022-05-13 08:23:02 +00:00
Arc Wang
e6389f63c2 Merge "Show USB flash drive in storage spinner when it's unmounted" into tm-dev 2022-05-13 08:03:15 +00:00
Calvin Pan
a264bc2092 Merge "Add log for user language selection" into tm-dev 2022-05-13 06:19:32 +00:00
Weng Su
670070528c Merge "Avoid unnecessary stopTethering when startTethering fails" into tm-dev 2022-05-13 06:14:57 +00:00
Weng Su
bbeed14835 Merge "Get app label by launched package" into tm-dev 2022-05-13 06:13:44 +00:00
SongFerng Wang
eb254aa0c3 Merge "[BT LE broadcast sink] Initialize the sourceId" into tm-dev 2022-05-13 06:03:39 +00:00
Bonian Chen
69c13dd49b Merge "[Settings] Expand scrollable area of Wifi calling UI" into tm-dev 2022-05-13 06:00:52 +00:00
Chaohui Wang
b7cb887f8e Fix Change link is not clickable in Internet
Links are not allowed in footer preference title now.

So splitting the string in to title text and change text to fix.

Fix: 232481379
Test: manual test
Change-Id: I857b33ac06ec2fb9619da94a2947dbc25f5b28db
2022-05-13 13:22:23 +08:00
Jay Sullivan
e26d2187d2 Merge "Implement "More privacy settings"" into tm-dev 2022-05-13 04:48:48 +00:00
Calvin Pan
4d7776de7b Add log for user language selection
Bug: N/A
Change-Id: I74ff19816705ca5a822e84bda0917d0eced25b7b
2022-05-13 02:29:50 +00:00
SongFerngWang
18965897bf [BT LE broadcast sink] Initialize the sourceId
If the sink device has connected the broadcast source, then the device
should initialize the sourceId and create the sourceId's preference UI.

Bug: 231576575
Test: manually test
Change-Id: I24d9e6d4c78dc4e583c5253e552456a68b1114c3
2022-05-13 09:54:20 +08:00
Chaohui Wang
98fa9deb4a Merge "[DO NOT MERGE] Fix flicker for Data Usage page" into tm-dev 2022-05-13 01:41:16 +00:00
Peter_Liang
5bdc11a00d Updates the padding of the reset button to meet for SetupWizard style.
Goals: Call the function LayoutStyler#applyPartnerCustomizationLayoutPaddingStyle to dynamically adjust the padding of the view.

Bug: 231511522
Test: manual test
Change-Id: Idd4a00c004eca8ec9699edeabe85bbee4bd49af9
2022-05-13 09:37:13 +08:00
Jay Thomas Sullivan
ecc0a45a98 Implement "More privacy settings"
Safety Center is enabled, the existing "Privacy" screen will be
different in a few ways:

1. Its title will become "More privacy settings"
2. A few preferences will be hidden
3. A few preferences will be reworded
4. The ordering of a few preferences will change
5. The PRIVACY_SETTINGS intent will now point to Safety Center;
   PRIVACY_ADVANCED_SETTINGS will point to "More privacy settings".

Test: manual
Bug: 222127397
Change-Id: I74faf770babb34f775b2ef572248e550ea683ab3
2022-05-12 18:25:06 -07:00
Bonian Chen
5c71853bd9 [Settings] Expand scrollable area of Wifi calling UI
1. Replace InstrumentedDialogFragment by SettingsPreferenceFragment.
   Enable the capability of shirnking the size of title.
2. Move switch bar into Preference.
   Enlarge scrollable area within this UI page.

Bug: 224661026
Test: local
Change-Id: I6e0a491721e9f93858c389593b2bb891f6fa8f8d
2022-05-13 09:18:32 +08:00
Weng Su
b1795081da Avoid unnecessary stopTethering when startTethering fails
- If Wi-Fi tethering is enabled or enabling, avoid to startTethering again.

- If Wi-Fi tethering is disabled or disabling, avoid to stopTethering again.

- Add more logs to know which module stopped Tethering.

Bug: 230457055
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherSwitchBarControllerTest

Change-Id: I51d42ac0117d935ecaa9fa7312acc646b43d3593
2022-05-13 05:21:28 +08:00
PETER LIANG
45634511a4 Merge "Fine-tune the location of the logging for accessibility text and reading options." into tm-dev am: a571dd9973 am: 3f7265aec8 am: a47c16bcb2 am: 0131c26979
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18319147

Change-Id: I3ed17a1478ab17b24f457d0f3bc1947546475e21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 18:28:52 +00:00
PETER LIANG
0131c26979 Merge "Fine-tune the location of the logging for accessibility text and reading options." into tm-dev am: a571dd9973 am: 3f7265aec8 am: a47c16bcb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18319147

Change-Id: I15ce6cfe7688af139e896dec6c3b41d073f5026e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:57:52 +00:00
PETER LIANG
a47c16bcb2 Merge "Fine-tune the location of the logging for accessibility text and reading options." into tm-dev am: a571dd9973 am: 3f7265aec8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18319147

Change-Id: I2591657f489baa3d7e99e0f87000137f7bf15830
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:18:12 +00:00
PETER LIANG
3f7265aec8 Merge "Fine-tune the location of the logging for accessibility text and reading options." into tm-dev am: a571dd9973
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18319147

Change-Id: Ib391edd87b93314afe7c010ae62a7204a5184d62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 16:49:45 +00:00
PETER LIANG
a571dd9973 Merge "Fine-tune the location of the logging for accessibility text and reading options." into tm-dev 2022-05-12 16:14:37 +00:00
Lifu Tang
8c805c7336 Merge "Cache summary text to avoid flickering" into tm-dev am: bd4b23ba0d am: 8186ffc6b1 am: 3d4ca8d900
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18328550

Change-Id: I9c7a8e9fbbbf83e5a465ace625b611ed2d42adf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 15:45:42 +00:00
Tom Hsu
d7c57abc5a Merge "[Panlingual] Fix shall not show app with empty LocaleConfig." into tm-dev am: 7f3f9666ee am: 7e2a501491 am: e15c49c920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18281656

Change-Id: I28e0f83681606e8d7b31f416677bc1e72b070ec1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 15:45:09 +00:00