Since we're no longer planning on enforcing the flag requirement for
exported/not exported in T, we should update the compat change so that
it's disabled, which will allow developers to still test it, change the
error message so it doesn't reference Android T, and remove the
additional system property that enabled stricter enforcement.
Test: atest ContextText
Bug: 225057637
Change-Id: Ibdc079ef7e92954422ddde715b3a4ae358f552e3
This is currently a recurring issue every new Android release as a few of
our apps will be targeting new platforms and they also get installed on
devices running older SDKs.
This change only changes behaviour for APK in apexes.
Test: atest com.android.server.pm.parsing.PackageParserLegacyCoreTest
Bug: 208239394
Merged-In: If1195c8ec39ac88a605e25dfb1c78d49a5aa3e7c
Change-Id: If1195c8ec39ac88a605e25dfb1c78d49a5aa3e7c
This extra enables applications to mark ClipData items as sensitive,
indicating that the data within should not ordinarily be displayed.
Applications (e.g. IMEs that store clipboard history) can use
this flag to prevent sensitive data from being unintentionally
displayed on screen.
Bug: 195554988
Test: N/A
Change-Id: Ibccd3944842a40d3e5afec2dd99f32eb7a3564db
If this feature is not supported,
1. Settings should hide window magnification settings.
2. Magnification mode settings should fallback to.
full-screen settings.
Bug: 225086379
Test: none
Change-Id: I3248034d25eb88136bda1874092319d4702be455
Update surface related api in shortcut info in comply with api design
guideline.
Bug: 210991003
Test: atest CtsShortcutManagerTestCases
Change-Id: I493295fb6d1e780e5bfbb6feec31f7e85dc5294f
Merged-In: I493295fb6d1e780e5bfbb6feec31f7e85dc5294f
* changes:
RESTRICT AUTOMERGE Refactor device policy resource APIs to a separate class
RESTRICT AUTOMERGE move device policy resource APIs to a separate class
RESTRICT AUTOMERGE hide device policy resources constants
Changed the wording of the NameNotfoundException documentation to be
more inclusive of other potential cases where the exception could be
thrown (such as a lack of permissions) in PackageManager methods that
query packge info.
Bug: 216062232
Test: Only making documenation changes
Change-Id: I07206b40cf33686fe842d21a624582da686c2f03
This adds two feature strings for EROFS, one for the legacy staging
version present in 4.19 kernels, and another for the official mainline
version present in later kernels.
Bug: 215725871
Test: manual test
Change-Id: Ic36424b578f985ef5a826c3a89c243720fecd0a6
Signed-off-by: David Anderson <dvander@google.com>
(cherry picked from commit 035cfec7d6)
These APIs should be removed from the platform and SDK to prevent
confusion from the ecosystem.
Test: m
Bug: 220015249
Change-Id: I019b2594803d44745846ac7d56ad36c342c0c5ba
requestedPermissionsFlags javadoc.
Instead of only the other way around.
Bug: 225095217
Test: presubmit
Change-Id: Ia3c05b4df4c6dc7543a7e55aa0470f4205520f36
* changes:
Rename revokeOwnPermissionsOnKill to revokeSelfPermissionsOnKill
Self-revocation: Call PermissionControllerManager directly from Context
Synchronously revoke permissions on OTP session end when kill delay is 0
Do not leak whether package exists in revokeOwnPermissionsOnKill
This fixes a bug where self-revocation didn't work in multi-user
settings. Now the correct context is used throughout the call stack and
the permission for the calling user will be revoked.
Also added a checked IllegalArgumentException (previously unchecked
SecurityException) when trying to revoke a permission that is not
currently granted.
Test: manual using two users and
atest android.permission.cts.RevokeOwnPermissionTest
Bug: 218788609
Change-Id: I3dce34b8b956b4d1eb0ac1e34b6fdbf1795aa269
Also update javadoc to clarify what visible means in the method.
Bug: 224542726
Test: atest AppEnumerationTests
Test: atest PermissionPolicyTest
Change-Id: I80de99afe253c4e516587928f6cab14228cdf2b3
SigningInfo#getSigningCertificateHistory should return the signer's
in an APK's signing lineage in order of rotation. This commit updates
the API's documentation to explicitly state this requirement.
Bug: 193834256
Test: Build
Change-Id: I5c1f028cd12039cbbac9f6f6c77122639f8e1d9c