TreeHugger Robot
fe4d991e11
Merge "Fix bypass CALL_PRIVILEGED permission in AppRestrictionsFragment"
2022-01-07 02:48:14 +00:00
Bill Yi
b7d0e28589
[automerger skipped] Merge SQ1A.220105.002 to stage-aosp-master - DO NOT MERGE am: ea1249b895 -s ours am: 9400843a91 -s ours am: 369598c0a2 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16570397
Change-Id: I19f4d88451b64e5f6fc2bc07665ec936c30e6e8a
2022-01-07 02:43:08 +00:00
Bill Yi
39df254c94
Merge sc-qpr1 to aosp-master - DO NOT MERGE
...
Merged-In: Id5612dfa82e11037cd95b0ef0f5a507d9c86dd48
Merged-In: I4f51c80cf4e32c384afad849c04c7c6afa065767
Change-Id: Ie466180309fcfe540492967e8bf3587b34928ded
2022-01-06 18:39:02 -08:00
Bill Yi
369598c0a2
[automerger skipped] Merge SQ1A.220105.002 to stage-aosp-master - DO NOT MERGE am: ea1249b895 -s ours am: 9400843a91 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16570397
Change-Id: Ic33a2e4aead117ffd3a2b05146bd68744aaa3733
2022-01-07 02:22:58 +00:00
Android Build Coastguard Worker
0122dbd1bb
Snap for 8050871 from b43d872018 to tm-release
...
Change-Id: I6d3c64f0d4f6695a64a871b8ee88aa100783dac2
2022-01-07 02:09:19 +00:00
Bill Yi
9400843a91
[automerger skipped] Merge SQ1A.220105.002 to stage-aosp-master - DO NOT MERGE am: ea1249b895 -s ours
...
am skip reason: Merged-In I896f9fd68c6cf3ebce5f9b56a6eb9c49d113f0e4 with SHA-1 3387491083 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16570397
Change-Id: I4f51c80cf4e32c384afad849c04c7c6afa065767
2022-01-07 02:01:47 +00:00
Betty Chang
6c59266ef4
Merge "Add Enterprise restriction check for Wi-Fi QR code sharing"
2022-01-07 01:51:56 +00:00
Yasin Kilicdere
3a0ebebac4
Add logging for settings entrypoint to add supervised user.
...
Bug: 213442701
Test: croot && make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest"
Change-Id: Ie6110b0ef5c16c9f83e3d939f78f21f003e55e35
2022-01-06 23:21:59 +00:00
Edgar Wang
359512cd95
Fix bypass CALL_PRIVILEGED permission in AppRestrictionsFragment
...
In onReceive of AppRestrictionsFragment.java, there is a possible way to
start a phone call without permissions due to a confused deputy.
This could lead to local escalation of privilege with no additional
execution privileges needed.
We should not allow the restrictionsIntent to startActivity simply
because it resolves to multiple activities.
Instead, we should call resolveActivity and check the result's package
name is same as current package name, then it is safe to startActivity.
Bug: 200688991
Test: manual verify
Change-Id: Iaa2d3a9497c3266babe0789961befc9776a4db7a
2022-01-07 00:07:16 +08:00
Peter_Liang
b11381762e
Update the preview background of the Caption and Style.
...
Add the background corner to be consistent with the Settings style.
Bug: 213453597
Test: manual test
Change-Id: Icf4526e13c81af9d8431304e04619d4add345aee
2022-01-06 23:58:08 +08:00
PETER LIANG
b43d872018
Merge "Update the background of the Daltonizer preview."
2022-01-06 14:49:10 +00:00
Fabian Kozynski
c8fc56e3bf
Merge "Start brightness dialog in same task"
2022-01-06 14:18:52 +00:00
TreeHugger Robot
cdeb1595cf
Merge "Fix WifiDialogActivityTest broken"
2022-01-06 13:56:09 +00:00
Giuliano Procida
97325d2305
Merge "Revert "Prevent side channel package installation enumeration""
2022-01-06 13:28:58 +00:00
Giuliano Procida
ee8365ca8e
Revert "Prevent side channel package installation enumeration"
...
This reverts commit 8943073514 .
Reason for revert: broke tests, see b/213434244
Bug: 185477439
Bug: 213434244
Change-Id: I7a8fd6086ea59463ef73ade40663cc55b926eaca
Signed-off-by: Giuliano Procida <gprocida@google.com >
2022-01-06 13:03:22 +00:00
Peter_Liang
b408e19f4e
Update the background of the Daltonizer preview.
...
Add the corner radii in to be consistent with the Settings style.
Bug: 213440059
Test: manual test
Change-Id: I68edf243ae33e9bb1e39020ad7553451fad66477
2022-01-06 21:02:50 +08:00
Sunny Shao
eda64c9f03
Enable scrolling to fix invisible problem of partial image
...
Fixes: 210362085
Test: manual test
Change-Id: Idd8e6d8f9645500090b0523f7f30a32a3140bde9
2022-01-06 20:31:34 +08:00
Weng Su
9bd8f046a9
Fix WifiDialogActivityTest broken
...
- The ShadowWifiManager class is not working as expected
- Use Mockito class instead of Shadow class
Bug: 175369329
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiDialogActivityTest
Change-Id: Idbc851c4d9702be23561c2c48c9d7d077e5f452e
2022-01-06 08:45:40 +00:00
changbetty
c13303c585
Add Enterprise restriction check for Wi-Fi QR code sharing
...
- In the Internet Picker, if a user tries to long press on the SSIDs
that cannot be shared, the “Share” option should disappear.
Bug: 203169712
Test: make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: Iea5a25ba80f29be59c39988bba0dcc4689585461
2022-01-06 07:56:40 +00:00
Arc Wang
18410493d4
Merge "Prevent side channel package installation enumeration"
2022-01-06 07:10:27 +00:00
Chen Xu
a1127f5996
Merge "[MEP] Use switchToSub API with pending intent"
2022-01-06 06:18:12 +00:00
Bill Yi
ea1249b895
Merge SQ1A.220105.002 to stage-aosp-master - DO NOT MERGE
...
Merged-In: I896f9fd68c6cf3ebce5f9b56a6eb9c49d113f0e4
Change-Id: Id5612dfa82e11037cd95b0ef0f5a507d9c86dd48
2022-01-05 21:10:49 -08:00
TreeHugger Robot
72f9e8eaf0
Merge "Add caller check to com.android.credentials.RESET"
2022-01-06 03:07:42 +00:00
Arc Wang
8943073514
Prevent side channel package installation enumeration
...
From Android 11, apps need the permission QUERY_ALL_PACKAGES
to probe existence of arbitrary installed packages.
However, an Activity which declares android:scheme="package
in intent-filter may be vulnerable and attacker app can
use it to probe installed packages.
This change add permission QUERY_ALL_PACKAGES to protect
vulnerable Activity.
Bug: 185477439
Test: Install POC and check if it can probe installed packages
by each vulnerable Activity.
Change-Id: I521545436102f72f2e0c5053e30fd03bd6bc756f
2022-01-06 10:58:58 +08:00
Android Build Coastguard Worker
c812ffb71e
Snap for 8046958 from 0fd5007620 to tm-release
...
Change-Id: I1d49ec1dab0fd3275650a979999e3e9452e07286
2022-01-06 02:10:42 +00:00
Alex Johnston
4c1272a921
Add caller check to com.android.credentials.RESET
...
* Only the Settings app can reset credentials
via com.android.credentials.RESET.
* com.android.credentials.INSTALL should still be
callable by CertInstaller.
Manual testing steps:
* Install certificate via Settings
* Verify unable to reset certificates via test app
provided in the bug (app-debug.apk)
* Verify able to reset certificates via Settings
* Verify com.android.credentials.INSTALL isn't changed
Bug: 200164168
Test: manual
Change-Id: I9dfde586616d004befbee529f2ae842d22795065
2022-01-06 01:21:41 +00:00
Alex Johnston
db9333baac
Add non system overlay flag to RequestManageCredentials
...
Bug: 205150380
Test: Manual testing with Settings and TestDPC
Change-Id: I7c23442e143a6d74935945e6f5e4ce5ce0ef77f0
Merged-In: I7c23442e143a6d74935945e6f5e4ce5ce0ef77f0
2022-01-05 20:19:47 +00:00
Chen Xu
0fd5007620
[automerger skipped] Merge "eSIM deprecated API test Refactoring" am: a4f936408c am: 688f9d61cd am: 3387491083 am: fb2acc0f78 -s ours
...
am skip reason: Merged-In Iedeb90f186ab9f82894e2fecef86d339c8989542 with SHA-1 40ffe69a3e is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1936017
Change-Id: I6fe3c30f5c9d71cdd4cccc69c72c6e3f192792c0
2022-01-05 19:38:25 +00:00
Chen Xu
e016e86605
[automerger skipped] Merge "[MEP] eSIM deprecated API Refactoring" am: c479598895 am: cb851c79ae am: 44e579e3ea am: 7639cd07ff -s ours
...
am skip reason: Merged-In Ic3244333b7d3750b88ecb3dbc5d7036da50b9d4d with SHA-1 73f1633973 is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1934924
Change-Id: I083a9fa1c4ac0c48b56bc16dfed355ba1433a5b5
2022-01-05 19:38:20 +00:00
Chen Xu
fb2acc0f78
Merge "eSIM deprecated API test Refactoring" am: a4f936408c am: 688f9d61cd am: 3387491083
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1936017
Change-Id: I95bbd270044702f0ed61b8f3cb0af03d6924ad4e
2022-01-05 19:09:03 +00:00
Chen Xu
7639cd07ff
Merge "[MEP] eSIM deprecated API Refactoring" am: c479598895 am: cb851c79ae am: 44e579e3ea
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1934924
Change-Id: Iec896dccd3c15be43a512a896bd6df6bb3e6c5b4
2022-01-05 19:08:59 +00:00
Yuri Ufimtsev
156980fdc7
Check if Preference is initialized before interacting
...
Test: manual
Test: adb shell am start -a
com.android.settings.security.SECURITY_ADVANCED_SETTINGS
Bug: 213182385
Change-Id: I95f628c4c4514511f1d830e0e6032e025eebc86b
2022-01-05 16:42:04 +00:00
TreeHugger Robot
1cbb603d60
Merge "FRP bypass defense in the settings app"
2022-01-05 05:37:51 +00:00
Tsung-Mao Fang
07dd833a6a
FRP bypass defense in the settings app
...
Over the last few years, there have been a number of
Factory Reset Protection bypass bugs in the SUW flow.
It's unlikely to defense all points from individual apps.
Therefore, we decide to block some critical pages when
user doesn't complete the SUW flow.
Test: Can't open the certain pages in the suw flow.
Fix: 200746457
Bug: 202975040
Fix: 213091525
Fix: 213090835
Fix: 201561699
Fix: 213090827
Fix: 213090875
Change-Id: Ia18f367109df5af7da0a5acad7702898a459d32e
2022-01-05 12:10:00 +08:00
Stanley Wang
c35cab1c7b
Merge "Fix the problem that some items can't be searched in Privacy category."
2022-01-05 01:52:31 +00:00
Chen Xu
3387491083
Merge "eSIM deprecated API test Refactoring" am: a4f936408c am: 688f9d61cd
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1936017
Change-Id: I896f9fd68c6cf3ebce5f9b56a6eb9c49d113f0e4
2022-01-04 20:02:29 +00:00
Chen Xu
44e579e3ea
Merge "[MEP] eSIM deprecated API Refactoring" am: c479598895 am: cb851c79ae
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1934924
Change-Id: I580a094ed849679e0a7a96cd6c6558abe758a1ea
2022-01-04 20:02:25 +00:00
Chen Xu
688f9d61cd
Merge "eSIM deprecated API test Refactoring" am: a4f936408c
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1936017
Change-Id: Iab671e2e10141401921aa0a27a24a4f222570fa0
2022-01-04 19:18:08 +00:00
Chen Xu
cb851c79ae
Merge "[MEP] eSIM deprecated API Refactoring" am: c479598895
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1934924
Change-Id: I1f2e66287f1cdad92515b3d248cacd56991fa38b
2022-01-04 19:18:06 +00:00
Chen Xu
a4f936408c
Merge "eSIM deprecated API test Refactoring"
2022-01-04 18:50:10 +00:00
Chen Xu
c479598895
Merge "[MEP] eSIM deprecated API Refactoring"
2022-01-04 18:50:10 +00:00
SongFerngWang
4fdf8be369
[MEP] eSIM deprecated API Refactoring
...
The telephony APIs were changed, the Settings needs the refactoring.
Bug: 206801604
Test: build pass.
atest QuerySimSlotIndexTest (PASS)
atest SelectableSubscriptionsTest (PASS)
Change-Id: Ic3244333b7d3750b88ecb3dbc5d7036da50b9d4d
Merged-In: Ic3244333b7d3750b88ecb3dbc5d7036da50b9d4d
2022-01-04 10:13:04 +00:00
Android Build Coastguard Worker
70d37d6c5a
Snap for 8040676 from d1f76eea72 to tm-release
...
Change-Id: Id3593b69edd7a85b22946f2bd7c98d91decedd7f
2022-01-04 02:08:55 +00:00
Michael Groover
d1f76eea72
Merge "Add unaudited exported flag to exposed runtime receivers"
2022-01-03 17:35:02 +00:00
sandeepjs
dbe31b8e6b
eSIM deprecated API test Refactoring
...
Test: build
Bug: 159354974
Change-Id: Iedeb90f186ab9f82894e2fecef86d339c8989542
Merged-In: Iedeb90f186ab9f82894e2fecef86d339c8989542
2022-01-03 12:15:02 +00:00
SongFerng Wang
4b906d564d
Merge "Refine the mobile data selection UI"
2022-01-03 08:43:57 +00:00
Android Build Coastguard Worker
ccbfbbd415
Snap for 8036950 from 1ee60270df to tm-release
...
Change-Id: I890234a4029d3b9b0d5cc368b0c6d74de7d11a5e
2021-12-31 02:08:44 +00:00
TreeHugger Robot
1ee60270df
Merge "Fix overlapping issue for Add a language page"
2021-12-30 12:05:07 +00:00
Mill Chen
28195f52a6
Fix overlapping issue for Add a language page
...
As the Add a language page changed its parent class, the collapsing
toolbar did not work smoothly. Also the nested scrolling feature of the
locale list is disabled, that caused the overlapping problem.
This change is to make the locale list enable the nested scrolling
feature.
Fixes: 207318265
Test: manual test
Change-Id: I95929cd569c94d392c325e4e5b2a35e78185d0b8
2021-12-30 16:23:18 +08:00
Android Build Coastguard Worker
6bb0f03d7f
Snap for 8035399 from a18933a2d1 to tm-release
...
Change-Id: I20f522b61d0674b8e8f4d822ec2bb262a1e8682e
2021-12-30 02:09:09 +00:00