Commit Graph

103664 Commits

Author SHA1 Message Date
SongFerng Wang
57553815c6 Merge "[BT LE broadcast sink] Initialize the sourceId" into tm-dev am: eb254aa0c3 am: 6f29834526
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18350763

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

Change-Id: I48c8df9ac6c2c644e1703177f79ca3f132911ed3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:33:25 +00:00
Zoey Chen
45bf373bdc Merge "[Le Audio] Move BT QR code scanner from Settingslibs to Settings" into tm-dev am: 8045522453
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18332085

Change-Id: Icf8205d8bd5f0bda8f443b7163b29f70c4748da5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:31:29 +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
Jay Sullivan
1a1a4508fe Merge "Implement "More privacy settings"" into tm-dev am: e26d2187d2 am: f6605348c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18164269

Change-Id: I54d263ff1a271d02a1eeca3f84a004b256034691
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 10:24:13 +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
Chaohui Wang
a0725763a3 Merge "Fix Change link is not clickable in Internet" into tm-dev am: 92caf1c737
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18367743

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

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

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

Change-Id: Iedbd144219d883e5a7fe0faa81496ef1e6e21639
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 09:39:57 +00:00
Weng Su
1a2590eb82 Merge "Get app label by launched package" into tm-dev am: bbeed14835
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18321386

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

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

Change-Id: I2d145718da998a128c004526b6ccc95bf1db2dee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 09:37:39 +00:00
Jason Chiu
8847c3186a Refine the homepage app bar layout
- Polish the app bar mask on homepage
- Move the Suggestion card to the position below the search box

Fix: 224435133
Fix: 230284145
Test: robotest, visual

Change-Id: I0a4fd86230fb773a28ca1d9799f3c631a81a11cb
2022-05-13 09:37:00 +00:00
Jay Sullivan
f6605348c4 Merge "Implement "More privacy settings"" into tm-dev am: e26d2187d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18164269

Change-Id: I2cec8ed7184d745d402421c8aeb6ee317e982cb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 09:32:10 +00: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
Chaohui Wang
6a3b18a3fa Merge "[DO NOT MERGE] Fix flicker for Data Usage page" into tm-dev am: 98fa9deb4a am: 93ddc6ae8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18281653

Change-Id: I712e0ea291f12e927af5bc5218157b80a7528490
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 03:55:29 +00:00
Chaohui Wang
0016077b08 [DO NOT MERGE] Fix flicker for Data Usage page am: 5a2f5ecff5 am: 298ca56920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18281653

Change-Id: I140a085bc4a18196f28295c1835eebd02f77665e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 03:55:28 +00:00
Alan Huang
8595cf779a Add Hearable control slice in bluetooth device detail settings
Bug: 229048602
Test: make -j64 RunSettingsRoboTests
Change-Id: I850aaee9bf7518c9f9de065fbbd1eb4919fc62ee
2022-05-13 03:41:32 +00:00
Chaohui Wang
93ddc6ae8c Merge "[DO NOT MERGE] Fix flicker for Data Usage page" into tm-dev am: 98fa9deb4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18281653

Change-Id: I523a6650fc5b66b9d4b7d40765fd21e7fa8b19a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 03:15:03 +00:00
Chaohui Wang
298ca56920 [DO NOT MERGE] Fix flicker for Data Usage page am: 5a2f5ecff5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18281653

Change-Id: Ia23dc95e26e347924a85bc551d87a53dffa8a930
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 03:15:02 +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
a6533a7f1e Merge "Fine-tune the location of the logging for accessibility text and reading options." into tm-dev am: a571dd9973 am: 50a57fc856
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18319147

Change-Id: I9a951474adb294f4056e92d18e54189a51362c4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 18:08:48 +00:00
PETER LIANG
50a57fc856 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: I26f0bb3d673334c8dc4ebf357b77066791924bec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:44:23 +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
Zoey Chen
4b345980c3 [Le Audio] Move BT QR code scanner from Settingslibs to Settings
Systemui memory regression, so we have to move the qr code activity back to Settings

Bug: 228031398
Test: manual
Change-Id: Ic30291e6d752c6c770c40e1329d9f95ceec8cca6
2022-05-12 15:23:22 +00:00
Lifu Tang
3d4ca8d900 Merge "Cache summary text to avoid flickering" into tm-dev am: bd4b23ba0d am: 8186ffc6b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18328550

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

Change-Id: I7918a3087aa2d2f68c76479e825e1206cc510071
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 15:20:50 +00:00
Lifu Tang
8186ffc6b1 Merge "Cache summary text to avoid flickering" into tm-dev am: bd4b23ba0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18328550

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

Change-Id: I13f32b3b0c13285af8930d867184f5758a259048
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 15:01:48 +00:00
Lifu Tang
bd4b23ba0d Merge "Cache summary text to avoid flickering" into tm-dev 2022-05-12 14:57:31 +00:00
Mill Chen
b8315994b9 Make sure loading extra info once
In those pages that extend ManageApplications, they need to load extra
information from other services as a summary for each package or as a
condition to be filtered. The way to load extra information is invoked
at two places. One is invoked once all apps are loaded and the other is
running before all apps loaded. It took much more time to prepare the
data for those pages if it is time consuming to load extra info. This
also caused the loading spinner to be always shown.

This change is to make sure that the loading extra info is invoked just
once when entering those pages and to decrease the time to load extra
info. The loading spinner is still displayed on some pages since it
still needs to take more than 100 ms to load extra infor in those pages.

Bug: 222441965
Bug: 223315960
Bug: 222981538
Bug: 222981533
Test: manual test
Change-Id: I8d0084ab5c412d9661f31446e613b7d1f58202ca
2022-05-12 22:44:34 +08:00
Tom Hsu
7f3f9666ee Merge "[Panlingual] Fix shall not show app with empty LocaleConfig." into tm-dev 2022-05-12 14:38:37 +00:00