638774 Commits

Author SHA1 Message Date
Wale Ogunwale
6f5423bb8c Revert "Change mounting storage data and obb flag to on by default"
Revert "Remove storage app data isolation checking in CTS"

Revert submission 14325408-enable_storage_iso_2

Reason for revert: b/187939590
Reverted Changes:
I6391b7381:Change mounting storage data and obb flag to on by...
Ic2f3d1be2:Remove storage app data isolation checking in CTS
Iffa8339b1:Change mounting storage data and obb flag to on by...

Bug: 187939590
Bug: 148049767
Change-Id: I7fa2947593d0fe743def804bf4f7b57920978e40
2021-05-14 10:30:54 +00:00
Ricky Wai
b11309b1fc Change mounting storage data and obb flag to on by default
Change mounting storage data and obb flag to on by default

Test: unbundled/launcher/nexus_unit_test_multi_device_platform
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Test: atest AdoptableHostTest
Test: pass cts/cts_postsubmit_cf_stable-cloud-tf

Bug: 148049767
Change-Id: Iffa8339b10427bea96aa90030463ed18c96eafce
2021-04-29 15:59:00 +00:00
James O'Leary
3d121b7119 Merge "Don't use pow for distance calculation" into sc-dev 2021-04-29 15:55:49 +00:00
Hyunyoung Song
ce5f5faab8 Merge "API council review for SearchUiManager" into sc-dev 2021-04-29 15:52:12 +00:00
Nataniel Borges
8a26f00f1f Merge "Fix pip window visibility assertions" into sc-dev 2021-04-29 15:51:59 +00:00
James O'Leary
fada9e8571 Don't use pow for distance calculation
Bug: 186664313
Test: `mp droid`, verify wallpaper extraction continues to succeed
Change-Id: I8136522379abfe5cbce83beae904559e68725aca
2021-04-29 11:48:39 -04:00
Chavi Weingarten
89e0e3fb07 Merge "Updated DisplayHash APIs" into sc-dev 2021-04-29 15:31:20 +00:00
Jeff Sharkey
02b741f883 Merge "Restore file truncation where expected." into sc-dev 2021-04-29 15:31:16 +00:00
George Mount
a4b222f48d Merge "Allow intercept touch event while animating edge glow." into sc-dev 2021-04-29 15:21:51 +00:00
TreeHugger Robot
c8a0871269 Merge "Disable flaky app pair assertions" into sc-dev 2021-04-29 15:18:23 +00:00
Tsung-Mao Fang
5565da2a9c Merge "Fix the padding for top intro preference" into sc-dev 2021-04-29 15:03:08 +00:00
Evan Severson
985b4f4ca5 Merge "Fix pin requirement for sensor toggle dialog" into sc-dev 2021-04-29 14:53:14 +00:00
Ryan Mitchell
3ec445926b Merge "Add <macro> tag to aapt2" into sc-dev 2021-04-29 14:15:41 +00:00
Shan Huang
a78718ac81 Merge "Play ripple on pluggedIn event instead of charge event." into sc-dev 2021-04-29 14:10:14 +00:00
Fabian Kozynski
c41e5371d7 Merge "Don't clip tiles as pages as scrolled" into sc-dev 2021-04-29 13:58:02 +00:00
Daniel Sandler
db5b068c96 Merge "Fix longstanding 0B in heap tile" into sc-dev 2021-04-29 13:54:39 +00:00
Wilson Wu
f5cded5a11 Merge "Make IInputMethodPrivilegedOperations to async (6/N)" into sc-dev 2021-04-29 13:42:04 +00:00
Beverly Tai
98b6d799d9 Merge "Animate clock weight to 0 on bypass face auth" into sc-dev 2021-04-29 13:31:35 +00:00
TreeHugger Robot
9693ec26d9 Merge "Fixed DPMS.listForegroundAffiliatedUsers()." into sc-dev 2021-04-29 12:41:09 +00:00
Kholoud Mohamed
2e2e0a8c0b Merge "Fix security vulnerability in DPMS#isProvisioningAllowed" into sc-dev 2021-04-29 12:39:52 +00:00
kholoud mohamed
2c09c34140 Fix security vulnerability in DPMS#isProvisioningAllowed
isProvisioningAllowed was calling packageManager#getPackageUidAsUser for
the provided packageName to compare against the callerUid, this call
throws a NameNotFoundException if the package isn't installed. This allows the caller to identify if an package is installed or not without holding the QUERY_ALL_PACKAGES permission.
This is now changed to call packageManager#getPackagesForUid for the calling uid and comparing it against the provided packageName.
If an uninstalled package is provided, it will now fail with a general
error message "Caller uid doesn't match the one for the provided package."

Test: Confirmed that the PoC app can no longer query which packages are
installed
Test: atest com.android.cts.devicepolicy.CustomManagedProfileTest#testIsProvisioningAllowed
Bug: 184525395

Change-Id: I13135d941f4944b4313ab2a2b20f1af30a5880a5
2021-04-29 13:36:57 +01:00
Kholoud Mohamed
5f1dcc5d8f Merge "Fix security vulnerability in DPMS#setProfileOwner" into sc-dev 2021-04-29 12:35:01 +00:00
Anton Hansson
059a42d17e Merge "Convert java_library_static to java_library" am: 0f6542d422 am: 6b26dfae04 am: 76dbe0d124
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686656

Change-Id: I381ce7489c4747a3f26d2821b2b1acdb2dab3195
2021-04-29 11:38:31 +00:00
Anton Hansson
76dbe0d124 Merge "Convert java_library_static to java_library" am: 0f6542d422 am: 6b26dfae04
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686656

Change-Id: I7bb3bbb2a4f674328b5e43f91c5f25885e391895
2021-04-29 11:21:57 +00:00
Anton Hansson
6b26dfae04 Merge "Convert java_library_static to java_library" am: 0f6542d422
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686656

Change-Id: I9f7ac868de9b259a1162597e819e7b1b900298bb
2021-04-29 11:00:32 +00:00
Ming-Shin Lu
a891293720 Merge "Don't attach IME screenshot when performing non-task transition" into sc-dev 2021-04-29 10:59:51 +00:00
Mill Chen
e6d4fbb189 Merge "Make collapsing toolbar load font synchronously" into sc-dev 2021-04-29 10:57:07 +00:00
Anton Hansson
0f6542d422 Merge "Convert java_library_static to java_library" 2021-04-29 10:45:25 +00:00
Jeff Chang
64458eaa1f Merge "Start activity with focus root task for staged split" into sc-dev 2021-04-29 10:35:31 +00:00
TreeHugger Robot
00ea5427b6 Merge "Fix pass null TranslationCapability to dispatchRequestTranslation()" into sc-dev 2021-04-29 10:29:56 +00:00
Kholoud Mohamed
d462813702 [automerger skipped] Merge "Add a new permission to install testOnly apps" am: 71d89f5d0d am: bc7a72187d am: d4f1cb46f3 -s ours
am skip reason: Merged-In I047a4013fb3462db3487eab2d1635ea75ae29264 with SHA-1 dead379e48 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689746

Change-Id: Ib090f41ce6141b3885066aab6f89c1bd0174a543
2021-04-29 10:27:54 +00:00
Treehugger Robot
fe69da2d49 [automerger skipped] Merge "Add getters to NetworkStateSnapshot" am: 2f83b6a72d am: 289a438f06 am: bbf4c3c2ce -s ours
am skip reason: Merged-In Id1707753b42ae88d2b95e4bd00a792609434e4f5 with SHA-1 d78c60c10a is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684649

Change-Id: Ice81dc86428db24ce535ad052e5b594e18d401b8
2021-04-29 10:26:50 +00:00
Lucy Chang
83cb5cca94 Merge "Adds install source checks for accessibility service" into sc-dev 2021-04-29 10:17:05 +00:00
Kholoud Mohamed
d4f1cb46f3 Merge "Add a new permission to install testOnly apps" am: 71d89f5d0d am: bc7a72187d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689746

Change-Id: Iddb8ddbd27e4a21dbd34420501797c190480d45a
2021-04-29 10:03:44 +00:00
Treehugger Robot
bbf4c3c2ce Merge "Add getters to NetworkStateSnapshot" am: 2f83b6a72d am: 289a438f06
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684649

Change-Id: Ia6047f77624d6be82dc2528f52f7c77bf5b29c17
2021-04-29 10:02:43 +00:00
Nataniel Borges
4b2f1da126 Fix pip window visibility assertions
1) Fix `Could not find: PipApp`, the test previously used the launcher name, instead of the window name for assertion

2) The command previously missed a `verify` call to actually execute the assertion

Bug: 186115871
Bug: 186445782
Test: atest FlickerTests WMShellFlickerTests
Change-Id: Ie9274e273bcda2be24491705cd28d7dc0d5ea5db
2021-04-29 12:02:31 +02:00
Tsung-Mao Fang
9194430a66 Fix the padding for top intro preference
Test: Rebuilt apk and see the screen
Fix: 186717581
Change-Id: I2de39ddbda7a77f9e508101ba0e6497fa13a883a
2021-04-29 17:44:04 +08:00
Kholoud Mohamed
bc7a72187d Merge "Add a new permission to install testOnly apps" am: 71d89f5d0d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689746

Change-Id: I337626f46f9e44322c537ad2243dc0185f45b83e
2021-04-29 09:43:10 +00:00
Treehugger Robot
289a438f06 Merge "Add getters to NetworkStateSnapshot" am: 2f83b6a72d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684649

Change-Id: I3263514a5d75141c81e5f9d7389603ed369e95df
2021-04-29 09:39:19 +00:00
Kholoud Mohamed
71d89f5d0d Merge "Add a new permission to install testOnly apps" 2021-04-29 09:35:22 +00:00
Bowgo Tsai
d5b4a59bc0 Merge "Revert "[SettingsProvider] Remove @Readable for NFC_PAYMENT_DEFA..."" into sc-dev 2021-04-29 09:29:50 +00:00
Treehugger Robot
16897d63f2 [automerger skipped] Merge "Add getters to UnderlyingNetworkInfo" am: e2e8b9ce88 am: b2551d4cc9 am: 2d96bac3aa -s ours
am skip reason: Merged-In Id59744097208d91298a25ef110ade91a9cf291a1 with SHA-1 f6008978c4 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684651

Change-Id: I9ac1f63c16debb8269b240380257bffd934021d1
2021-04-29 09:23:49 +00:00
Treehugger Robot
2f83b6a72d Merge "Add getters to NetworkStateSnapshot" 2021-04-29 09:20:34 +00:00
Michał Brzeziński
4380046455 Merge "Removing unnecessary QuickSettings clip bounds in split shade" into sc-dev 2021-04-29 09:14:41 +00:00
Martijn Coenen
166400b045 Merge "Revert "Revert "Fixup app-private dirs that are not writable.""" into sc-dev 2021-04-29 09:02:45 +00:00
Treehugger Robot
2d96bac3aa Merge "Add getters to UnderlyingNetworkInfo" am: e2e8b9ce88 am: b2551d4cc9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684651

Change-Id: I33d2bbca5a72ab8500a7886073c9f4c4d1b84925
2021-04-29 08:57:50 +00:00
Alina Zaidi
0a33298578 Merge "Change background color of work widgets, for when work profile is off." into sc-dev 2021-04-29 08:57:45 +00:00
TreeHugger Robot
51cac482f5 Merge "Update documentation for activity flags." into sc-dev 2021-04-29 08:48:15 +00:00
Treehugger Robot
b2551d4cc9 Merge "Add getters to UnderlyingNetworkInfo" am: e2e8b9ce88
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684651

Change-Id: I97222bb04bdea78178741245016658cad7f082dc
2021-04-29 08:16:36 +00:00
Wilson Wu
37051aef38 Make IInputMethodPrivilegedOperations to async (6/N)
-. Remove VoidResultCallback of applyImeVisibility.
   and let it be truly asynchronous.
-. Rename this method to applyImeVisibilityAsync.

Bug: 183587528
Test: atest CtsInputMethodTestCases
Change-Id: Ica564c526223d32641a2485c0c0f3490fe4bfd39
2021-04-29 16:05:05 +08:00