Commit Graph

90564 Commits

Author SHA1 Message Date
Jason Chiu
e06fb6348a Merge "Fix the highlight error and remove the empty card" into sc-v2-dev 2021-12-09 08:59:23 +00:00
Jason Chiu
8c559c2788 Fix the highlight error and remove the empty card
Fix: 209918251
Test: manual
Change-Id: I2a5afceea18cd4e1009114091433a2da22ac105e
2021-12-09 15:09:09 +08:00
Tsung-Mao Fang
b559eecc57 Merge "Revert "Device do network scan after user rotates NetworkSelection page"" into sc-v2-dev am: e386d498d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16419883

Change-Id: Iae6baf8a58291ec45acffafa0b5a9487274e4d9a
2021-12-09 06:14:20 +00:00
Tsung-Mao Fang
e386d498d6 Merge "Revert "Device do network scan after user rotates NetworkSelection page"" into sc-v2-dev 2021-12-09 05:53:33 +00:00
Tsung-Mao Fang
3943de1579 Turn off deep link components by default
We should only enable necessary components when
device supports the split activity feature.

Test: Enable/Disable components and make sure things work well.
Bug: 204405245
Change-Id: Icb03e121eed0e584bebe1c9c838d0f4f44015abf
2021-12-09 11:54:22 +08:00
Jason Chiu
56c54e4bd9 Merge "Do not show the redundant RemoveAccountFailureDialog" into sc-v2-dev am: 5377da37f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16413584

Change-Id: Ia3f4875855d0e722b178b6bd5cea391db6b4803c
2021-12-09 02:56:29 +00:00
Jason Chiu
5377da37f1 Merge "Do not show the redundant RemoveAccountFailureDialog" into sc-v2-dev 2021-12-09 02:40:05 +00:00
Joe Bolinger
ecb88bace4 Merge "Update biometrics OWNERS." am: fe99de597e am: 7c939b9e4f am: 687bccdd6f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1901117

Change-Id: I871c18cedf70a2cd608b1401fee7f1a139a675f0
2021-12-08 23:30:58 +00:00
Alex Johnston
fca5cb3748 Add non system overlay flag to InstallCaCertificateWarning
Bug: 196969991
Test: Manual testing with Settings
Change-Id: Ia9dc251c853526b2ce66c9f8ff595d496b7f1bc4
Merged-In: Ia9dc251c853526b2ce66c9f8ff595d496b7f1bc4
(cherry picked from commit 2f193c8157)
2021-12-08 21:18:30 +00:00
Alex Johnston
02e8f56e67 Add non system overlay flag to InstallCaCertificateWarning
Bug: 196969991
Test: Manual testing with Settings
Merged-In: Ia9dc251c853526b2ce66c9f8ff595d496b7f1bc4
Change-Id: Ia9dc251c853526b2ce66c9f8ff595d496b7f1bc4
(cherry picked from commit 2f193c8157)
2021-12-08 21:18:03 +00:00
Joe Bolinger
687bccdd6f Merge "Update biometrics OWNERS." am: fe99de597e am: 7c939b9e4f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1901117

Change-Id: I24532d402b923f5a4957900e4cf9a5649a9c6919
2021-12-08 18:45:59 +00:00
Joe Bolinger
7c939b9e4f Merge "Update biometrics OWNERS." am: fe99de597e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1901117

Change-Id: I8cd2a34eed6b830896d1370b877dbfdac15221a8
2021-12-08 18:37:58 +00:00
Joe Bolinger
fe99de597e Merge "Update biometrics OWNERS." 2021-12-08 18:30:44 +00:00
Tsung-Mao Fang
f848cd8156 Revert "Device do network scan after user rotates NetworkSelection page"
This reverts commit 13aadad7fa.

Reason for revert: b/207587612

Change-Id: I8bef41eb43088d4a118de30eab0ac3ddc6c7c79c
2021-12-08 14:19:33 +00:00
Alex Johnston
04c66a0a3c Add non system overlay flag to RequestManageCredentials
Bug: 205150380
Test: Manual testing with Settings and TestDPC
Change-Id: I7c23442e143a6d74935945e6f5e4ce5ce0ef77f0
2021-12-08 11:08:44 +00:00
alexylli
2a7069f561 [Settings] Remove override the transition to fade during the Suw flow.
Because Suw side has already override the transition when calling the
font size.

video: https://drive.google.com/file/d/1Lihpj3PFX4-xpg1d3pT3pBqm99noQL-k/view?usp=sharing

Bug: 208374725
Test: manual
Change-Id: Idaa56cdbdc7b9f76fe370ba79130007f7359557c
2021-12-08 17:06:44 +08:00
Joshua Mccloskey
73d9752eea Merge "Added sensorPrivacyDialog to face settings" into sc-v2-dev am: af87b942f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16276448

Change-Id: I94b47b11890b5e7751fad60378128f1f2ee17802
2021-12-08 07:26:21 +00:00
Joshua Mccloskey
af87b942f6 Merge "Added sensorPrivacyDialog to face settings" into sc-v2-dev 2021-12-08 07:01:57 +00:00
Jason Chiu
e5f1d24913 Do not show the redundant RemoveAccountFailureDialog
When the AccountManager's confirm remove dialog is canceled, a redundant
ConfirmRemoveAccountDialog showed up.

- Only show the dialog when a real error reported from AccountManager
- Also change RemoveAccountFailureDialog's title to remove the redundant
  question mark

Fix: 204948166
Test: manual
Change-Id: If712e120938e80e1bf4593fa78a1a2a70684fc2a
2021-12-08 06:29:19 +00:00
Lucas Dupin
435f0ac1f8 Merge "[Settings] Expose Bluetooth Pairing settings page" into sc-v2-dev am: f6354d8af7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16386048

Change-Id: I53ed6d54a6f50da601a2b2eaaaa229ef5fc76562
2021-12-07 17:57:09 +00:00
Lucas Dupin
f6354d8af7 Merge "[Settings] Expose Bluetooth Pairing settings page" into sc-v2-dev 2021-12-07 17:44:25 +00:00
hoffc
d4f420350d Settings: Extend the data role swap timeout value
Switching USB data role from device to host, it takes more than 3s in some devices, so 3s timeout is not enough.

Extend 3s timeout to 4s to be compatible with some devices with slow swap.

Bug: 209541948

Change-Id: I172498d66c5b12166162f2c55d94f0d441c7459c
2021-12-07 17:23:41 +08:00
Betty Chang
7e1d82caad Merge "To get Display name by active subscription info" into sc-v2-dev am: a22e367fca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16341977

Change-Id: I5cd1fb261043cfe4ff478792c11367f249e5c385
2021-12-07 06:00:02 +00:00
Betty Chang
a22e367fca Merge "To get Display name by active subscription info" into sc-v2-dev 2021-12-07 05:41:11 +00:00
Etienne Ruffieux
3a0084534f Merge "Make BluetoothCodecConfig and BluetoothCodecStatus public" am: 0e1a4d3bdf am: 328169a11c am: 76560b4e5b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1849631

Change-Id: I50c12636bb26250d58a6bd69dc1887e304fb876a
2021-12-06 16:18:10 +00:00
Etienne Ruffieux
76560b4e5b Merge "Make BluetoothCodecConfig and BluetoothCodecStatus public" am: 0e1a4d3bdf am: 328169a11c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1849631

Change-Id: I311cab0f288cdbb93f63f5492c6db17087092bdc
2021-12-06 16:03:50 +00:00
Etienne Ruffieux
328169a11c Merge "Make BluetoothCodecConfig and BluetoothCodecStatus public" am: 0e1a4d3bdf
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1849631

Change-Id: I248efd0968d1a4c3207d78c9d015142ba9e02030
2021-12-06 15:40:19 +00:00
Etienne Ruffieux
0e1a4d3bdf Merge "Make BluetoothCodecConfig and BluetoothCodecStatus public" 2021-12-06 15:16:44 +00:00
shaoweishen
1b58ba5df2 [Settings] Expose Bluetooth Pairing settings page
Bug: 204405245
Test: N/A
Change-Id: Iac85dcb76b674aa4e6afe21d9ef149d091531888
2021-12-06 12:07:08 +00:00
TreeHugger Robot
7162a4c3b1 Merge "Improve the cold start performance" into sc-v2-dev am: b5687c464a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16386047

Change-Id: I4f34ac927281356ea602550d764bf4e86569d70b
2021-12-06 09:20:41 +00:00
TreeHugger Robot
b5687c464a Merge "Improve the cold start performance" into sc-v2-dev 2021-12-06 09:05:04 +00:00
changbetty
0adb8dc55a To get Display name by active subscription info
Bug: 206601918
Test: manual test and test team verified pass
Change-Id: Id156b3c5c65ff3af25f74721db27f46c08f3543e
2021-12-06 06:40:52 +00:00
Bonian Chen
5de864ae93 [Settings] Refactor Wifi Calling description text
Refactor the display of description text when no wifi calling options available.
Enhancement:
1. These text need to align the style with the summary part of the wifi
calling options.
2. These text need to be scrollable in order to see full description.
3. The link within text need to be clickable.

Bug: 204844012
Test: local
Change-Id: I60f339bf4adf50236d80176669a557c77f0d97ca
(cherry picked from commit 8a892271da)
Merged-In: I60f339bf4adf50236d80176669a557c77f0d97ca
Merged-In: I8bbe6c653c51b8ca43d936e50166f0f8bfb1acdc
2021-12-06 04:00:50 +00:00
Bonian Chen
ace21a81da [Settings] Refactor Wifi Calling description text
Refactor the display of description text when no wifi calling options available.
Enhancement:
1. These text need to align the style with the summary part of the wifi
calling options.
2. These text need to be scrollable in order to see full description.
3. The link within text need to be clickable.

Bug: 204844012
Test: local
Change-Id: I60f339bf4adf50236d80176669a557c77f0d97ca
(cherry picked from commit 8a892271da)
Merged-In: I60f339bf4adf50236d80176669a557c77f0d97ca
Merged-In: I8bbe6c653c51b8ca43d936e50166f0f8bfb1acdc
2021-12-05 15:05:53 +00:00
Joe Bolinger
c9357384d4 Update enrollment edu animation.
Fix: 208654839
Test: manual (enroll and verify animation)
Change-Id: I1d21d3533c65f75158a9602875294fdfa6a36701
2021-12-03 22:58:12 +00:00
Joe Bolinger
5636794cbe Merge "Remove portrait flag from handoff activity." into sc-v2-dev am: 9220a46cc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16367697

Change-Id: I46e24c353f27abf435e3f9c81aef9f35d5221277
2021-12-03 22:35:22 +00:00
Joe Bolinger
9220a46cc2 Merge "Remove portrait flag from handoff activity." into sc-v2-dev 2021-12-03 22:13:02 +00:00
Ryan Lin
7f704f6c95 Merge "Fix incorrect UI after triple-tap is disabled" into sc-v2-dev am: 2007a57560
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16379103

Change-Id: Icce7853960e621266a8817f22cf88a52fae7a7d5
2021-12-03 10:14:30 +00:00
Ryan Lin
2007a57560 Merge "Fix incorrect UI after triple-tap is disabled" into sc-v2-dev 2021-12-03 09:52:13 +00:00
Jason Chiu
3b9ad4de7f Merge "Revise homepage highlight mechanism" into sc-v2-dev am: 7bfe3e869a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16366004

Change-Id: I0737a0463b51399a9410b238c23094715168f5ae
2021-12-03 09:27:13 +00:00
Jason Chiu
e17163adf5 Merge "Disable animations of deep link homepages to reduce the shortcut flicker" into sc-v2-dev am: 50bfe197b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16297689

Change-Id: I05f4f60f96dcc0b83cb7af76943a56a59d0fb0af
2021-12-03 09:25:19 +00:00
Jason Chiu
627fd3928c Improve the cold start performance
The performance regressed since the previous change that hide the
homepage view from using View.GONE to View.INVISIBLE

This change only initializes the list views in the invisible homepage
view to prevent a scroll flicker when scrolling is needed.

Test: manual
Bug: 206555277
Bug: 205823792
Change-Id: I8f173b135cfa1d27a1362d5fa8e3f338e2428ad2
2021-12-03 17:12:08 +08:00
Jason Chiu
7bfe3e869a Merge "Revise homepage highlight mechanism" into sc-v2-dev 2021-12-03 08:23:24 +00:00
Jason Chiu
50bfe197b7 Merge "Disable animations of deep link homepages to reduce the shortcut flicker" into sc-v2-dev 2021-12-03 07:01:16 +00:00
Jason Chiu
a305c23f5e Revise homepage highlight mechanism
- Create TopLevelHighlightMixin to handle highlight actions and simplify
  TopLevelSettings
- Fix the error highlight and the flicker after screen rotation
- Postpone creating the fragment until it's needed to accelerate the
  initialization and to fix the search highlight function breakage after
  toggling light/dark mode
- Register activity embedding rules only once for injection and
  wallpaper
- Do not highlight Tips & support since it's full screen
- Refactor ActivityEmbeddingRulesController

Bug: 207316936
Test: manual, robotest build pass
Change-Id: If322ec180b03ee123987c70779a25c6a570d9faf
2021-12-03 12:04:48 +08:00
ryanlwlin
a992b611bf Fix incorrect UI after triple-tap is disabled
The preference summary is not changed after
users disable the triple tap shortcut by the confirm
dialog. It is due to the fact that the fragment doesn't
observe the settings value change.

To fix it, we add the settings key to observe the change.

Bug: 208755360
Test: manual test
Change-Id: Ie5b7fc5e67c5491b53485af0d3d68d1789aeace4
2021-12-03 01:58:25 +00:00
Alex Johnston
62ab8f5847 Merge "Add non system overlay flag to InstallCaCertificateWarning" into sc-v2-dev am: 86cee74361
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16358378

Change-Id: If2ceb7cc90fd16ea20e22fde771bb8ccc63842a6
2021-12-02 15:50:18 +00:00
Alex Johnston
86cee74361 Merge "Add non system overlay flag to InstallCaCertificateWarning" into sc-v2-dev 2021-12-02 15:34:01 +00:00
Jason Hsu
8216c769a9 Merge "Align the "Open activity" UI style with usual accessibility service "Use service"" into sc-v2-dev am: 5c90a9c225
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16321718

Change-Id: I56bfde017611f42e38d16488a5fa02f18d2db253
2021-12-02 11:27:03 +00:00
Jason Hsu
5c90a9c225 Merge "Align the "Open activity" UI style with usual accessibility service "Use service"" into sc-v2-dev 2021-12-02 11:01:49 +00:00