Loading api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -1149,6 +1149,7 @@ package android.content { package android.content.pm { public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { method public boolean isEncryptionAware(); method public boolean isInstantApp(); field public java.lang.String credentialProtectedDataDir; field public int targetSandboxVersion; Loading core/java/android/content/pm/ApplicationInfo.java +9 −1 Original line number Diff line number Diff line Loading @@ -1866,7 +1866,15 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { return (privateFlags & ApplicationInfo.PRIVATE_FLAG_DIRECT_BOOT_AWARE) != 0; } /** @hide */ /** * Check whether the application is encryption aware. * * @see #isDirectBootAware() * @see #isPartiallyDirectBootAware() * * @hide */ @SystemApi public boolean isEncryptionAware() { return isDirectBootAware() || isPartiallyDirectBootAware(); } Loading Loading
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -1149,6 +1149,7 @@ package android.content { package android.content.pm { public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { method public boolean isEncryptionAware(); method public boolean isInstantApp(); field public java.lang.String credentialProtectedDataDir; field public int targetSandboxVersion; Loading
core/java/android/content/pm/ApplicationInfo.java +9 −1 Original line number Diff line number Diff line Loading @@ -1866,7 +1866,15 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { return (privateFlags & ApplicationInfo.PRIVATE_FLAG_DIRECT_BOOT_AWARE) != 0; } /** @hide */ /** * Check whether the application is encryption aware. * * @see #isDirectBootAware() * @see #isPartiallyDirectBootAware() * * @hide */ @SystemApi public boolean isEncryptionAware() { return isDirectBootAware() || isPartiallyDirectBootAware(); } Loading