Commit Graph

90135 Commits

Author SHA1 Message Date
Sunny Shao
644a2b9bc6 Fix overlapped problem in SuW two panes mode
- The previous preview page will overlap the right pane in RTL language.
- The root cause is the false value of the clipToPadding and
  clipChildren.
- Use the TTheme.DeviceDefault.Settings.

Fixes: 204955818
Test: manual test
Change-Id: I75c7f419cf93ebe9c4e9e3cb24835163a6b01e11
2021-11-26 17:20:50 +08:00
Charles Chen
a8c97980a6 Fix different behaviors of deeplink in one/two pane
Test: manual - Reproducible steps mentioned in bug
fixes: 207740082
Change-Id: I1163e38c177307ccac8798eb649271d0466ab1c8
2021-11-26 07:54:42 +00:00
Alice Kuo
3487843496 Update the LE audio device into the media device category
Bug: 178981521
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AvailableMediaBluetoothDeviceUpdater
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=ConnectedBluetoothDeviceUpdater

Change-Id: I094ba6beb66fdebd7f3ef0a7c12bbed0e5b870e8
Merged-In: I094ba6beb66fdebd7f3ef0a7c12bbed0e5b870e8
2021-11-26 14:02:07 +08:00
Bonian Chen
14e76c3233 [Settings] Move display of VPN version into summary text
Move the display of version text within VPN into summary part of the
display, and limit the height of summary area.

Bug: 205460459
Test: local
Change-Id: I666b9db356feeebf04e3be688897c2d9110a5275
(cherry picked from commit 144f295d7a)
2021-11-26 05:53:46 +00:00
Alice Kuo
629611a43e Handle csip set member automatic pair in Setting
Move the set member handle to setting. SystemUI and Setting have the
individual settingLib instance. If we trigger pairing inside settingLib,
the action would be called twice. SystemUI does not contain the concept
to handle the pair interaction. Setting would take the action to
createBond for CSIP automatically.

Bug: 201758444
Bug: 150670922
Test: Pair the coordinated set devices, and check the set member pairing
would be done automatically without the pairing dialog

Change-Id: Idbdd21a1f15b04cc91cbc2d30a5cb4e9b24174b9
Merged-In: Idbdd21a1f15b04cc91cbc2d30a5cb4e9b24174b9
2021-11-26 13:53:46 +08:00
Alice Kuo
c78fb83aee Do not update the previously connected devices for the sub device
As bluetooth turn on, and device reboot, UI will show the sub device
entry for hearing aid device or csip device. Check if the device is a sub device, do not update the cachedDevice information.

Bug: 150670922
Bug: 178981521
Test: bonded with a coordinated set. Check the UI only have one entry as Bluetooth turn on and device reboot.
Change-Id: I03dfdc25b57e614194fb8de2c9265edd50760d30
Merged-In: I03dfdc25b57e614194fb8de2c9265edd50760d30
2021-11-26 13:34:12 +08:00
Alice Kuo
61460a1ab1 Accept the pairing request automatically for the set member pairing
Check the pairing request from which device that if it's the outgoing
set member pairing, accept the pairing request automatically to make the
CSIP pairing seamless.

Bug: 178981521
Bug: 150670922
Test: Pair one of the CSIP device, and confirm the other set member can
paired without the confirmation from user

Change-Id: I40afabb09b4cb12a0253035452c9f6974799ed05
Merged-In: I40afabb09b4cb12a0253035452c9f6974799ed05
2021-11-26 13:22:15 +08:00
Alice Kuo
9f11a4cddf Show the multiple Mac address for the coordinated set
Show the mac address for all the devices if the device detail combine
with the multiple connections based on CSIP.

Screenshot: https://screenshot.googleplex.com/qQjc2pxNTr3tMUV

Bug: 178981521
Test: pair with the coordinated set, and check the UI
Change-Id: I01e0ec91e5c856481318d6435d174b5a2018d820
Merged-In: I01e0ec91e5c856481318d6435d174b5a2018d820
2021-11-26 13:21:48 +08:00
Alice Kuo
f57f720c38 Add the pairing string for CSIP supported device
Show the pairing dialog with the hint message
that pairing this device will pair all of the
set member of a coordinated set. If the device
supports CSIP, the message will be shown.

Screenshot: https://screenshot.googleplex.com/8WcrdgBoLRgJjHs

Bug: 178981521
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BlueotohPairingDialog
Change-Id: I5432b7264652dd4485e2669f6004caa4f7459238
Merged-In: I5432b7264652dd4485e2669f6004caa4f7459238
2021-11-26 13:13:25 +08:00
Treehugger Robot
2c42c7d4cd Merge "Hide emergency APN in user settings" am: 6c553c0c5c am: 90a326dc3c am: d36b37ab1c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1900491

Change-Id: I41943ab50d50986dd56c3eb89f474751b6cc14cf
2021-11-25 11:25:50 +00:00
Treehugger Robot
d36b37ab1c Merge "Hide emergency APN in user settings" am: 6c553c0c5c am: 90a326dc3c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1900491

Change-Id: I8ed9aa66573560824dac6c09295effecd7ee190d
2021-11-25 11:14:15 +00:00
Treehugger Robot
90a326dc3c Merge "Hide emergency APN in user settings" am: 6c553c0c5c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1900491

Change-Id: Id5f63157fc108b45a23a9a07572b719053945b7c
2021-11-25 10:57:05 +00:00
Treehugger Robot
6c553c0c5c Merge "Hide emergency APN in user settings" 2021-11-25 09:58:12 +00:00
Tsung-Mao Fang
a58256be3d Fix abnormal behavior on avatar account page am: 17423d1682
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16327062

Change-Id: I2f6e3fe33969760c7639122df34901856dde27fb
2021-11-25 04:41:18 +00:00
Tsung-Mao Fang
17423d1682 Fix abnormal behavior on avatar account page
Prior to this cl, if user opens settings app
in single-pane first and navigates to
the avatar account page, then rotate the device,
user observed the account page was still shown
with full screen.

Because we didn't register correct split rule,
it causes the abormal behavior on two-pane mode.
In order to register correct rule,  we also need
to assign correct component name while opening the
account page.

Bug: 207609699
Test: Rebuilt apk and verify the behavior
Change-Id: I31def684c033c1d0c20870284826c6713a31b43d
2021-11-25 04:19:14 +00:00
Sergey Serokurov
95405970bb Merge "Fix truncated string in bubbles setting screen" into sc-v2-dev am: 045983a6d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16338885

Change-Id: I3bad5101201fff88d5580ad79e8c12ac1a5acd6d
2021-11-25 02:57:41 +00:00
Sergey Serokurov
045983a6d2 Merge "Fix truncated string in bubbles setting screen" into sc-v2-dev 2021-11-25 02:44:34 +00:00
Sergey Serokurov
258f5d8f26 Fix truncated string in bubbles setting screen
Bug: 187217715
Test: Manual, screenshot after the fix at https://screenshot.googleplex.com/4DjWc6AZTE6e75N
Change-Id: Ib683a9500cefed0d79192866e691257380a72a92
2021-11-24 16:17:31 -08:00
TreeHugger Robot
517c9ead5e Merge "UI refinement of highlighted menu entry for large screen" into sc-v2-dev am: aee951dcb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16304401

Change-Id: I6da649fe2bf00d7630af90298c971928082092bb
2021-11-24 18:28:01 +00:00
TreeHugger Robot
aee951dcb0 Merge "UI refinement of highlighted menu entry for large screen" into sc-v2-dev 2021-11-24 18:16:37 +00:00
Joe Bolinger
89ac835d2e Merge "Prevent scrolling when interacting with confirm pattern prompt." into sc-v2-dev am: 710622d818
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16332073

Change-Id: I2390634fede31fa796d4130f22e8cc3bd0da5ff9
2021-11-24 18:03:22 +00:00
Joe Bolinger
710622d818 Merge "Prevent scrolling when interacting with confirm pattern prompt." into sc-v2-dev 2021-11-24 17:48:07 +00:00
Mattias Nilsson
6a56b4a8e6 Hide emergency APN in user settings
Emergency APN types is not something for the end user
and should not be possible to edit.

Test: Add an emergency APN and check in Settings
Bug: 207626003
Change-Id: I866eb98dce410218bc76ade3201a2a2abfc959e7
2021-11-24 16:43:42 +01:00
TreeHugger Robot
ed0b68a71b Merge "Fix talkback issue on Subsettings" into sc-v2-dev am: 9928e585a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16324223

Change-Id: I499c652bcad2b4969e7896f5746012e4b2466e04
2021-11-24 10:06:52 +00:00
TreeHugger Robot
9928e585a6 Merge "Fix talkback issue on Subsettings" into sc-v2-dev 2021-11-24 09:54:34 +00:00
Joe Bolinger
ebbb5c277e Prevent scrolling when interacting with confirm pattern prompt.
This uses the same fix as related commit e55568a7ba

Fix: 207325277
Test: manual (set pattern via settings in dual pane mode)
Change-Id: Ic56829df23442df45d47d60ea5b8319e4ab58931
2021-11-23 21:37:46 +00:00
TreeHugger Robot
d61e61e630 Merge "Fix abnormal behavior on search page" into sc-v2-dev am: ee18babe99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16284151

Change-Id: I19a8fb6310cc3399291fe38f6026d1b751390e24
2021-11-23 09:51:44 +00:00
TreeHugger Robot
ee18babe99 Merge "Fix abnormal behavior on search page" into sc-v2-dev 2021-11-23 09:38:20 +00:00
Jernej Virag
266663a89b Merge "Add animation graphic to Long Press Power settings screen." into sc-v2-dev am: 6e82d4019d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16272558

Change-Id: I738b7a2b67125d11855261ef6f50d95ce68ce876
2021-11-23 08:52:50 +00:00
Jernej Virag
6e82d4019d Merge "Add animation graphic to Long Press Power settings screen." into sc-v2-dev 2021-11-23 08:35:38 +00:00
Tsung-Mao Fang
0e03b12d60 Fix abnormal behavior on search page
Prior to this cl, if user opens settings app
in single-pane first and navigates to
the search page, then rotate the device,
user observed the search page was still shown
with full screen.

Because we didn't register correct split rule,
it causes the abormal behavior on two-pane mode.
In order to register correct rule,  we also need
to assign correct component name while opening the
search page.

Fix: 206896763
Test: Rebuilt apk and verify the behavior
Change-Id: I7343467aa716d71da63f2ad0a034dc6c1b7fd415
2021-11-23 16:32:32 +08:00
Yi-Ling Chuang
b509b976ea Make fingerprint registration flow full screen am: 488211c752
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16324224

Change-Id: I777ae290ba96ff00da5d2b0e32a7a28a676dc692
2021-11-23 07:10:52 +00:00
Yi-Ling Chuang
488211c752 Make fingerprint registration flow full screen
Since the fingerprint registration sometimes has a hardware dependency,
to bring a better UX, make the flow full screen on large screen devices.

Bug: 197717071
Test: Try to register a new fingerprint and see the pages are full
screen.

Change-Id: I5dcb720a8b6a58bd9fc67ecae35f730c20a2c4d3
2021-11-23 11:39:43 +08:00
Tsung-Mao Fang
e260ebe157 Fix talkback issue on Subsettings
Set window title for activity, so it won't announce
"Settings" again.

Test: Run the talkback and do not observe issue
Fix: 200749911
Change-Id: Ied973916bdd43562424b97eadea2b3a413c712ec
2021-11-23 11:35:09 +08:00
Joe Bolinger
d00fd7f362 Remove face auth from setup wizard when configured as a convenience.
Fix: 206867696
Test: manual (enroll via SUW with/without unicorn)
Change-Id: I41bf7488cf30ffe3e0d09282e923347c7f5938df
2021-11-23 00:59:31 +00:00
Joshua Mccloskey
e711b3277e Disable setting if sensor is convenience.
This change disables the FaceSettings Confirmation setting if a
sensor is convenience. This is due to the fact that convenience strength
sensors can't be used by BiometricPrompt (so this setting has no
effect.)

Test: Verified this setting shows depending on whether or not the sensor
is convenience or not.
Fixes: 204137656

Change-Id: I88daf9f12b76d06697275161385f463fb88e0f3a
2021-11-22 13:49:17 -08:00
Jack Yu
9a0ab00ac4 Merge "NFC support in work profile" am: c2647199ce am: 79675e89f2 am: 3ccf7e29f8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1856215

Change-Id: Ib97dd1b197a362258552a45d7d9b40565da96cb5
2021-11-22 11:23:29 +00:00
Jack Yu
3ccf7e29f8 Merge "NFC support in work profile" am: c2647199ce am: 79675e89f2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1856215

Change-Id: I6526b8a3f83c72870a93777d37242f1fb191568f
2021-11-22 11:12:20 +00:00
Jack Yu
79675e89f2 Merge "NFC support in work profile" am: c2647199ce
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1856215

Change-Id: Iac30f77fd5d732bb3b50fc531600fed02d477919
2021-11-22 11:00:16 +00:00
Jack Yu
c2647199ce Merge "NFC support in work profile" 2021-11-22 10:45:44 +00:00
Jason Chiu
90eef24080 UI refinement of highlighted menu entry for large screen
- Add a new highlight background drawable
- Add two homepage specific preferences for the new layout design

Fix: 207079684
Test: visual
Change-Id: I20c80da090a03129bffa845d443ee5d1ad13b97b
2021-11-22 12:36:05 +08:00
Jason Hsu
821a439085 Merge "Remove the 'new' word for accessibility gesture tutorial dialog" into sc-v2-dev am: 37ec371fb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16302388

Change-Id: I382f694fa9c17cee63ce5da9d68fffedfc3bcea3
2021-11-22 04:11:32 +00:00
Jason Hsu
37ec371fb9 Merge "Remove the 'new' word for accessibility gesture tutorial dialog" into sc-v2-dev 2021-11-22 03:57:40 +00:00
TreeHugger Robot
1e160f1799 Merge "Redesign homepage layout for two-pane mode." into sc-v2-dev am: 4e78e0923f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16263227

Change-Id: I8758e0687986f5ea7ee4afa2a87e4add947fb07d
2021-11-22 02:41:09 +00:00
TreeHugger Robot
4e78e0923f Merge "Redesign homepage layout for two-pane mode." into sc-v2-dev 2021-11-22 02:28:27 +00:00
jasonwshsu
7259d14324 Remove the 'new' word for accessibility gesture tutorial dialog
Root Cause: We merge back accessibility gesture feature into sc-v2, but
the tutorial dialog is still the original content.

Solution: Since it is not the new feature anymore, we just want to
introduce the feature, so remove the 'new' word.

Bug: 204850690
Test: manual test
Change-Id: I38aff0cee6779153066e414e654611fa83d0a533
2021-11-19 17:06:59 +08:00
Xin Li
3332b73738 [automerger skipped] Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 am: bf45599d43 -s ours am: 69e79704e3 -s ours
am skip reason: Merged-In I9ac05f5da437030e1b5db082ddaf7959f82acccd with SHA-1 d3f9214763 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16279041

Change-Id: I7d4b9af134809d835f1e82cb7c3e26dd1e59eb6c
2021-11-18 22:25:14 +00:00
Xin Li
69e79704e3 [automerger skipped] Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 am: bf45599d43 -s ours
am skip reason: Merged-In I9ac05f5da437030e1b5db082ddaf7959f82acccd with SHA-1 d3f9214763 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16279041

Change-Id: Ibb132379ab32739f0c9bdc29ded3159775eb884e
2021-11-18 22:00:58 +00:00
Kevin Han
6dc2c76da0 Merge "Unhibernate an app when a user exempts it" into sc-v2-dev am: 83a8b76ec2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16286576

Change-Id: Icacd93b1f5b0cfe950dd4e4ccc0f8081ad1d58c3
2021-11-18 21:58:23 +00:00
Kevin Han
83a8b76ec2 Merge "Unhibernate an app when a user exempts it" into sc-v2-dev 2021-11-18 21:37:46 +00:00