Commit Graph

95375 Commits

Author SHA1 Message Date
Bonian Chen
ee6566f0f3 [Settings] Ignore failed test case
Ignore failed test case.

Bug: 201021312
Test: build pass
Change-Id: I1462c5b5358b189bc8cf3eb47b591a59cd2cafc9
2021-09-24 12:46:56 +08:00
YUKAI HUNG
a006e4c8fc Merge "[Security] resolve overlay attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev am: d24f289548 am: e401e37369
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15898228

Change-Id: I750731ab9eb4bc063b33b2ca4c80999f5544b64f
2021-09-24 02:56:15 +00:00
YUKAI HUNG
e401e37369 Merge "[Security] resolve overlay attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev am: d24f289548
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15898228

Change-Id: I27699bd328f33a95b18cedf3f497bf358d30bca5
2021-09-24 02:44:14 +00:00
YUKAI HUNG
e191079948 Merge "[Security] resolve CRLF attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev am: 93f6df76be am: 3691ddaea2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15898227

Change-Id: I67cc5a21ef4797cd823b000b1c34be6d89bb7a05
2021-09-24 02:38:47 +00:00
YUKAI HUNG
d24f289548 Merge "[Security] resolve overlay attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev 2021-09-24 02:28:41 +00:00
ykhung
a8a2075fd0 [Security] resolve overlay attack on RequestIgnoreBatteryOptimizations
we should put the addSystemFlags() after onCreate() method rather than the original onStart() method (refer the proposed solution in b/199167909)

Bug: 199167909
Test: make SettingsRoboTests
Change-Id: Ic7361443bfa2e1a6d8d962708c794fa0122a691c
2021-09-24 02:27:40 +00:00
YUKAI HUNG
3691ddaea2 Merge "[Security] resolve CRLF attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev am: 93f6df76be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15898227

Change-Id: Ib506e95ea5bbdf2c92b640e8df01f5233460e7c7
2021-09-24 02:20:31 +00:00
YUKAI HUNG
93f6df76be Merge "[Security] resolve CRLF attack on RequestIgnoreBatteryOptimizations" into sc-v2-dev 2021-09-24 02:09:08 +00:00
Wilson Wu
3752817938 Merge "Use AvailableVirtualKeyboardFragment for IME settings" 2021-09-24 02:00:36 +00:00
Curtis Belmonte
5a750fc16f Merge "Support "less secure" info row on face enroll intro" into sc-v2-dev am: 6368379a25 am: b7838414c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15900429

Change-Id: I12233ebe1ebc817b99c337df6266efc9e1b5f870
2021-09-24 00:59:21 +00:00
Curtis Belmonte
b7838414c5 Merge "Support "less secure" info row on face enroll intro" into sc-v2-dev am: 6368379a25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15900429

Change-Id: I43291babbf5a505393a819130aabd40d056d43bc
2021-09-24 00:48:05 +00:00
Curtis Belmonte
6368379a25 Merge "Support "less secure" info row on face enroll intro" into sc-v2-dev 2021-09-24 00:30:49 +00:00
Diego Vela
d5e799cb0b Merge "WM Jetpack interface update in Settings" into sc-v2-dev am: 4659ba56d9 am: 67c99772b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15833279

Change-Id: I8119c9be7796dce08644b6e402a702e8e04fb09b
2021-09-24 00:26:23 +00:00
Diego Vela
67c99772b0 Merge "WM Jetpack interface update in Settings" into sc-v2-dev am: 4659ba56d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15833279

Change-Id: I29a9b250a431f32d2b31f869dcc17a8545e04c36
2021-09-24 00:09:53 +00:00
Diego Vela
4659ba56d9 Merge "WM Jetpack interface update in Settings" into sc-v2-dev 2021-09-23 23:53:06 +00:00
Curtis Belmonte
e72cab0e2e Support "less secure" info row on face enroll intro
Adds an info row that can be configured to show on the face enroll
introduction screen, indicating the relative security of face compared
to other authentication methods (e.g. pattern or PIN).

Test: Manual

Bug: 196254139
Change-Id: I956083887945ac97d15722b23a14ac458568dd9e
2021-09-23 22:35:53 +00:00
TreeHugger Robot
acde5d2e1a Merge "Accept the pairing request automatically for the set member pairing" 2021-09-23 17:27:35 +00:00
ykhung
aa9091916d [Security] resolve CRLF attack on RequestIgnoreBatteryOptimizations
1. refer the proposed solution in the b/198783395
2. similar concept is applied in the https://source.corp.google.com/sc-dev/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/PermissionGroups.java;l=118

Bug: 198783395
Test: make SettingsRoboTests
Change-Id: I838825e31b98e62d2683995e59dbf4388f5684fc
2021-09-23 15:54:53 +00:00
Eric Laurent
738a621933 Merge "Fix error prone build with spatial audio settings test" into sc-v2-dev am: eb79498e0f am: 1ad39d5015
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15879873

Change-Id: Ida1af01b2df258b9630fc979e7db247490db297b
2021-09-23 15:01:16 +00:00
Eric Laurent
1ad39d5015 Merge "Fix error prone build with spatial audio settings test" into sc-v2-dev am: eb79498e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15879873

Change-Id: I370713e27fa23a14125a5dff842b7483fe70aefb
2021-09-23 14:48:18 +00:00
Alice Kuo
e920efeb3a 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
2021-09-23 14:38:52 +00:00
Eric Laurent
eb79498e0f Merge "Fix error prone build with spatial audio settings test" into sc-v2-dev 2021-09-23 14:37:32 +00:00
YUKAI HUNG
ac19d0e300 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev am: b62c1e8142 am: f488cf5416
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892826

Change-Id: I69fa32b26f7674366be9fa4b0807d9b0fe2c54a4
2021-09-23 11:47:14 +00:00
YUKAI HUNG
f488cf5416 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev am: b62c1e8142
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892826

Change-Id: I5050b2e16522f19e4cdd04e317a2118ea881f322
2021-09-23 11:34:07 +00:00
YUKAI HUNG
b62c1e8142 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev 2021-09-23 11:24:19 +00:00
Bonian Chen
c61b4bcb29 Merge "[Settings] Ignore failed test case" 2021-09-23 10:50:26 +00:00
ykhung
9de5fe158d [B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle
BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy method name

Test command for backup manager:
adb shell bmgr backupnow com.android.settings
adb shell dumpsys backup | grep Current
adb shell bmgr restore 3e9867a7660315b8 com.android.settings

Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I78f34870af3146698e6d1b9fbc5ec4385a8d5384
2021-09-23 17:29:22 +08:00
TreeHugger Robot
2d5178e62b Merge "Show the multiple Mac address for the coordinated set" 2021-09-23 08:40:55 +00:00
Alice Kuo
133c2cc1cc 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
2021-09-23 08:31:07 +00:00
TreeHugger Robot
cf889e2faa Merge "Fix not able to add Settings shortcut widget problem" into sc-v2-dev am: 7655d161ff am: f6bdd8eb96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892809

Change-Id: I98c474c935559b41f9eab8a70c19bb9daffaeb5f
2021-09-23 08:25:02 +00:00
TreeHugger Robot
f6bdd8eb96 Merge "Fix not able to add Settings shortcut widget problem" into sc-v2-dev am: 7655d161ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892809

Change-Id: I2a982c636bcf7b7709c697a3bfaaa41e5999bbeb
2021-09-23 08:12:32 +00:00
TreeHugger Robot
7655d161ff Merge "Fix not able to add Settings shortcut widget problem" into sc-v2-dev 2021-09-23 08:02:23 +00:00
Eric Laurent
bab4074204 Fix error prone build with spatial audio settings test
Add cast when getting AudioManager per
https://errorprone.info/bugpattern/MockitoCast

Bug: 191870827
Test: make
Change-Id: Icf93e68ec373f9ce145440f97fbe8d02c1716983
2021-09-23 09:52:10 +02:00
Jason Hsu
1ed5b468f4 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev am: 768722fed4 am: da247a3042
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824482

Change-Id: I58f6e45441389cd1d54d5399aa48c219d4a81ed4
2021-09-23 07:26:46 +00:00
Bonian Chen
ab9428f315 [Settings] Ignore failed test case
Ignore failed test case.

Bug: 200906425
Test: build pass
Change-Id: Iacd21b22b3971388add17ca559135473385b8c91
2021-09-23 15:21:36 +08:00
Jason Hsu
da247a3042 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev am: 768722fed4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824482

Change-Id: I8d5053da73433f54491fe9e32f822757d09057ef
2021-09-23 07:12:16 +00:00
Jason Hsu
768722fed4 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev 2021-09-23 07:01:58 +00:00
TreeHugger Robot
58edb69d46 Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev am: a448a917eb am: edc5e940ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15884455

Change-Id: Iedbf25f530937ae35e7b772873df994036c1d237
2021-09-23 06:55:21 +00:00
Curtis Belmonte
cd2990bdb3 [automerger skipped] Merge "Support configurable multi-stage UDFPS enrollment" into sc-qpr1-dev am: 491ef413c3 am: e04555bc68 -s ours am: af3547a96d -s ours
am skip reason: Merged-In Ied4dbcb4a523f477c5ca1a9146d24751c6473f35 with SHA-1 73855e0a59 is already in history

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

Change-Id: Id1ebe6481ffd1a37f13e12bbdd7e44e972e56847
2021-09-23 06:54:37 +00:00
Arc Wang
4dd3f11349 Fix not able to add Settings shortcut widget problem
After users select a shortcut item in CreateShortcutActivity,
launchers need to get result from CreateShortcutActivity.

For large screen devices, Settings deep link will start
DeepLinkHomepageActivity and then DeepLinkHomepageActivity
starts the deep link page. The CreateShortcutActivity result
deos not forward to launcher and there is no shortcut added.

This change uses Intent.FLAG_ACTIVITY_FORWARD_RESULT to
forward result from CreateShortcutActivity to launcher.

Bug: 200889769
Test: manual
      Long click launcher -> Widget -> Settings ->
      select an item and check if it adds a short on launcher.
Change-Id: Idd5fc642be5c1fb2f747316c3ddcd9b7f0b33852
2021-09-23 06:54:36 +00:00
TreeHugger Robot
edc5e940ef Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev am: a448a917eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15884455

Change-Id: I82270db9e790b8f64f3c8cb7ed878ba0fd3ab025
2021-09-23 06:17:26 +00:00
TreeHugger Robot
a448a917eb Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev 2021-09-23 06:00:54 +00:00
Curtis Belmonte
af3547a96d [automerger skipped] Merge "Support configurable multi-stage UDFPS enrollment" into sc-qpr1-dev am: 491ef413c3 am: e04555bc68 -s ours
am skip reason: Merged-In Ied4dbcb4a523f477c5ca1a9146d24751c6473f35 with SHA-1 73855e0a59 is already in history

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

Change-Id: I8db1198444f51dac647a719bee95866bd562e421
2021-09-23 05:37:54 +00:00
Jason Hsu
d2c58d835e Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev am: f7695aae33 am: 9e787479a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836289

Change-Id: I0047af43a2a4fd872324720fecaced139b5811dc
2021-09-23 05:22:04 +00:00
Jason Hsu
9e787479a6 Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev am: f7695aae33
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836289

Change-Id: I34e04b0e990cf4e0eb6e9729f99d545a4f421edf
2021-09-23 05:08:33 +00:00
Jason Hsu
f7695aae33 Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev 2021-09-23 04:55:54 +00:00
Alan Huang
e303658f0d Add the Spatial audio toggle in SoundSettings
The Spatial audio toggle will be showed only on supported devices

Test: robotest, manual checked the UI, but not the actual functionality due to
doesn't have supported device in hand

Bug: 191870827
Change-Id: I7db264902b03fddb7808676d8cb98cbe045deda1
2021-09-23 04:45:46 +00:00
TreeHugger Robot
239023d13d Merge "Merge intent extra to deep link intent target for large screen devices" into sc-v2-dev am: 4223ee98ea am: e7ebddb87d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824476

Change-Id: I374926b60b58d2867dd9553bf962911a7493540c
2021-09-23 03:46:47 +00:00
TreeHugger Robot
e7ebddb87d Merge "Merge intent extra to deep link intent target for large screen devices" into sc-v2-dev am: 4223ee98ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824476

Change-Id: I81f6a07456d2fbd3c10795caa5c0af2ef34fc1fb
2021-09-23 03:32:12 +00:00
TreeHugger Robot
4223ee98ea Merge "Merge intent extra to deep link intent target for large screen devices" into sc-v2-dev 2021-09-23 03:19:09 +00:00