Bonian Chen
fccca65c0e
Merge "[Settings] Stop network mode query when changing config" into tm-dev
2022-05-19 10:27:07 +00:00
Chaohui Wang
692068d535
Add the jank detection to Settings toggles
...
Add jank detection when click the following preferences,
- SwitchPreference
Single target, detect click in InstrumentedPreferenceFragment
- PrimarySwitchPreference
Two target, only detect click switch in switch's onClick()
- MainSwitchPreference
Single target, detect click in TogglePreferenceController
- SettingsMainSwitchPreference
Single target, detect click in its onSwitchChanged()
Bug: 230285829
Test: manual & robo tests
Change-Id: I97a13e05a601237b16cd2d903ba2fb6ec4a69a74
2022-05-19 12:28:16 +08:00
Kate Montgomery
c92780ceba
Merge "Flag off stickiness of show/hide system setting." into tm-dev am: d79959bd7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18399916
Change-Id: I01a58ec1e7f17ea67664515cfb610c937aae2d25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 22:41:11 +00:00
Kate Montgomery
d79959bd7d
Merge "Flag off stickiness of show/hide system setting." into tm-dev
2022-05-18 19:21:45 +00:00
Bonian Chen
fa6c9f3a53
[Settings] Stop network mode query when changing config
...
Changing the configuration of network mode could take a long time.
In some cases, it blocks the query operation.
This is a change to stop query operation from execution during the time
when configuration is changing.
Bug: 227431634
Test: local
Change-Id: Ifeb16e7e9a0ec3de970fe588a1cce6d31fbba9cd
2022-05-17 15:25:12 +00:00
Kate Montgomery
dc67fb3283
Flag off stickiness of show/hide system setting.
...
Bug: 191503437
Test: atest SettingsRoboTests
Change-Id: I96e287cb870265e6ce379e64d01f134f8b3dde59
2022-05-17 14:24:41 +00:00
Bonian Chen
61a85eaee7
[Settings] Select RAT in between SIMs for Internet
...
The internet page RAT need to be selected based on default data SIM.
Bug: 230190055
Test: local
Change-Id: I87edd7a9ddadf877b9cc0c678e3bba423666125e
2022-05-17 18:40:06 +08:00
Jason Hsu
1b0b6c902a
Merge "Pop up pairing another ear dialog when detecting hearing aid is a set" into tm-dev am: 13438e6084
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17291804
Change-Id: I828626ed6844804f8314e90fba766c01f161f699
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-15 09:50:32 +00:00
Jason Hsu
13438e6084
Merge "Pop up pairing another ear dialog when detecting hearing aid is a set" into tm-dev
2022-05-15 08:35:55 +00:00
jasonwshsu
cf507b603b
Add mechanism to add accessibility service or activity into bluetooth 'Related' category am: 02b373522a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17472403
Change-Id: Ib7ee39c79cbd738b169dd49469badfacaa1daa64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-15 06:20:36 +00:00
jasonwshsu
acd3f94fde
Pop up pairing another ear dialog when detecting hearing aid is a set
...
* Pop up dialog in 'Connected deivce' page and 'Accessibility -> Hearing
aids' page
Bug: 225117454
Bug: 226511985
Test: make RunSettingsRoboTests ROBOTEST_FILTER=HearingAidPairingDialogFragmentTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AvailableMediaDeviceGroupControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityHearingAidPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=HearingAidUtils
Change-Id: I34a1e3ac680a7efe97dc501bfbe93f840ad16364
2022-05-14 22:16:22 +00:00
jasonwshsu
02b373522a
Add mechanism to add accessibility service or activity into bluetooth 'Related' category
...
Bug: 225117933
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsRelatedToolsControllerTest
Change-Id: Iaa3593b4fd9d916fe7f96b3e4bb0965fdbbe36ec
2022-05-14 22:43:19 +08:00
Jason Hsu
260e8f8ce2
Merge changes from topic "hearingAidsInT" into tm-dev am: c3bbb709b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17321711
Change-Id: Iaf0a85773cfc7cee8cd002ea0b35427044342ae2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-14 00:58:25 +00:00
Jason Hsu
c3bbb709b9
Merge changes from topic "hearingAidsInT" into tm-dev
...
* changes:
Add 'Live Caption' preference for hearing aids device in Device details page
Update summary in Accessibility -> Hearing aids
Header for hearing aids now listed in one summary
2022-05-14 00:24:44 +00:00
jasonwshsu
384200a337
Add 'Live Caption' preference for hearing aids device in Device details page
...
Bug: 225117933
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsRelatedToolsControllerTest
Change-Id: Ic607fa7d10aa2049ab0852a86a57dd1d5d1ac7df
2022-05-14 03:36:01 +08:00
jasonwshsu
82d3bb2b73
Update summary in Accessibility -> Hearing aids
...
Bug: 225117843
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityHearingAidPreferenceControllerTest
Change-Id: I19c08474349e9ae98cd3f296ba8423f920d55fcf
2022-05-14 02:06:45 +08:00
TreeHugger Robot
69f35acf8b
Merge "Add Hearable control slice in bluetooth device detail settings" into tm-dev am: 8a823a2c2c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18350203
Change-Id: Ifeb20badc063d6f8d38ad3b7c3f613e9fccf3aaa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 15:42:14 +00:00
TreeHugger Robot
8a823a2c2c
Merge "Add Hearable control slice in bluetooth device detail settings" into tm-dev
2022-05-13 15:34:48 +00:00
TreeHugger Robot
fa7b40c5da
Merge "Add refresh broadcast id checks" into tm-dev am: cd2d6f3e25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18352143
Change-Id: I33d03c453fb069211de01c96f9c2f42e29ba59c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 14:18:52 +00:00
TreeHugger Robot
cd2d6f3e25
Merge "Add refresh broadcast id checks" into tm-dev
2022-05-13 14:18:44 +00:00
PETER LIANG
1932476fae
Merge "Updates the padding of the reset button to meet for SetupWizard style." into tm-dev am: fc481ece26
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18349802
Change-Id: I9270826453ce63f23c56c447657d2899e361c181
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 12:27:51 +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
Giulio Fiscella
de0c2a08dd
Add refresh broadcast id checks
...
Test: atest SettingsUnitTests
Bug: 224522714
Change-Id: Id49767c27ecd842fc9d886cbf5bc0eee9eabc775
2022-05-13 11:20:05 +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
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
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
Edgar Wang
68d12953e7
Update learn more string of FooterPrefernce
...
Replace FooterPreference#SetLearnMoreContentDescription() with
FooterPreference#SetLearnMoreText().
This is a requirement: All links, controls, and buttons should
also have comprehensible text or tooltip text, so users can identify its
purpose, independent of context, such as when using the URL list from
TalkBack’s local context menu.
Bug: 215045903
Test: manual & robotest
Change-Id: Ib657ba336c5688c1434a58611dea3891001afe14
2022-05-13 08:13:36 +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
Bonian Chen
69c13dd49b
Merge "[Settings] Expand scrollable area of Wifi calling UI" into tm-dev
2022-05-13 06:00:52 +00:00
Jay Sullivan
e26d2187d2
Merge "Implement "More privacy settings"" into tm-dev
2022-05-13 04:48:48 +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
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
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
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
Lifu Tang
bd4b23ba0d
Merge "Cache summary text to avoid flickering" into tm-dev
2022-05-12 14:57:31 +00:00
Julia Reynolds
2d251eaa2e
Merge "Use NMS calculation of fixed importance" into tm-dev am: 9372f3b4e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18288425
Change-Id: I43fe4faf8494593743293333756a142d256eddf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 12:27:10 +00:00
Julia Reynolds
9372f3b4e3
Merge "Use NMS calculation of fixed importance" into tm-dev
2022-05-12 11:55:40 +00:00
Arc Wang
69bfb2ad1a
Merge "Storage Settings crash" into tm-dev am: 241238c6df
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18234988
Change-Id: Ib04a11d79b65cbbec0b005079aa45dc18186b37d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 03:47:19 +00:00
Yi-Ling Chuang
5cea4fc4a1
Merge "Make the force stop dialog work properly in split screen" into tm-dev am: f6c416054e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18281655
Change-Id: I9cea804407d90ff8b7304d311031e25d1b340e0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 03:47:04 +00:00
Arc Wang
241238c6df
Merge "Storage Settings crash" into tm-dev
2022-05-12 03:39:58 +00:00
Yi-Ling Chuang
f6c416054e
Merge "Make the force stop dialog work properly in split screen" into tm-dev
2022-05-12 03:23:11 +00:00
Lifu Tang
f29a071fca
Cache summary text to avoid flickering
...
Bug: 231927706
Test: build, flash, run unit test, then test manually.
Change-Id: Ia0585302c5cf86cd6035315fa750c71b9df55237
2022-05-11 15:52:23 -07:00
Julia Reynolds
2011588b16
Use NMS calculation of fixed importance
...
Rather than recalculating it again. Also align logic on
listing and details pages.
Test: NotificationBackendTest, NotificationPreferenceControllerTest
Bug: 231662091
Fixes: 231815850
Change-Id: If9572766666620008afb839ecb0828ace8d6073d
2022-05-11 16:38:04 +00:00
Weng Su
25b0db21ac
Get app label by launched package
...
- Activity#getCallingPackage will return null in some special cases, use the launched package instead.
Bug: 194709435
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiScanModeActivityTest
Change-Id: I4f22bab7592dedf75dd36daf5e18dbc934bc8655
2022-05-11 22:51:45 +08:00