Loading api/system-current.txt +4 −0 Original line number Original line Diff line number Diff line Loading @@ -11366,6 +11366,8 @@ package android.content.pm { method public abstract void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public abstract void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public abstract boolean hasSystemFeature(java.lang.String); method public abstract boolean hasSystemFeature(java.lang.String); method public abstract boolean hasSystemFeature(java.lang.String, int); method public abstract boolean hasSystemFeature(java.lang.String, int); method public abstract int installExistingPackage(java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException; method public abstract int installExistingPackage(java.lang.String, int) throws android.content.pm.PackageManager.NameNotFoundException; method public abstract boolean isInstantApp(); method public abstract boolean isInstantApp(); method public abstract boolean isInstantApp(java.lang.String); method public abstract boolean isInstantApp(java.lang.String); method public abstract boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String); method public abstract boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String); Loading Loading @@ -44731,6 +44733,8 @@ package android.test.mock { method public void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public boolean hasSystemFeature(java.lang.String); method public boolean hasSystemFeature(java.lang.String); method public boolean hasSystemFeature(java.lang.String, int); method public boolean hasSystemFeature(java.lang.String, int); method public int installExistingPackage(java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException; method public int installExistingPackage(java.lang.String, int) throws android.content.pm.PackageManager.NameNotFoundException; method public boolean isInstantApp(); method public boolean isInstantApp(); method public boolean isInstantApp(java.lang.String); method public boolean isInstantApp(java.lang.String); method public boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String); method public boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String); core/java/android/content/pm/PackageManager.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -4721,6 +4721,7 @@ public abstract class PackageManager { * on the system for other users, also install it for the calling user. * on the system for other users, also install it for the calling user. * @hide * @hide */ */ @SystemApi public abstract int installExistingPackage(String packageName) throws NameNotFoundException; public abstract int installExistingPackage(String packageName) throws NameNotFoundException; /** /** Loading @@ -4728,6 +4729,7 @@ public abstract class PackageManager { * on the system for other users, also install it for the calling user. * on the system for other users, also install it for the calling user. * @hide * @hide */ */ @SystemApi public abstract int installExistingPackage(String packageName, @InstallReason int installReason) public abstract int installExistingPackage(String packageName, @InstallReason int installReason) throws NameNotFoundException; throws NameNotFoundException; Loading Loading
api/system-current.txt +4 −0 Original line number Original line Diff line number Diff line Loading @@ -11366,6 +11366,8 @@ package android.content.pm { method public abstract void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public abstract void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public abstract boolean hasSystemFeature(java.lang.String); method public abstract boolean hasSystemFeature(java.lang.String); method public abstract boolean hasSystemFeature(java.lang.String, int); method public abstract boolean hasSystemFeature(java.lang.String, int); method public abstract int installExistingPackage(java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException; method public abstract int installExistingPackage(java.lang.String, int) throws android.content.pm.PackageManager.NameNotFoundException; method public abstract boolean isInstantApp(); method public abstract boolean isInstantApp(); method public abstract boolean isInstantApp(java.lang.String); method public abstract boolean isInstantApp(java.lang.String); method public abstract boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String); method public abstract boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String); Loading Loading @@ -44731,6 +44733,8 @@ package android.test.mock { method public void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); method public boolean hasSystemFeature(java.lang.String); method public boolean hasSystemFeature(java.lang.String); method public boolean hasSystemFeature(java.lang.String, int); method public boolean hasSystemFeature(java.lang.String, int); method public int installExistingPackage(java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException; method public int installExistingPackage(java.lang.String, int) throws android.content.pm.PackageManager.NameNotFoundException; method public boolean isInstantApp(); method public boolean isInstantApp(); method public boolean isInstantApp(java.lang.String); method public boolean isInstantApp(java.lang.String); method public boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String); method public boolean isPermissionRevokedByPolicy(java.lang.String, java.lang.String);
core/java/android/content/pm/PackageManager.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -4721,6 +4721,7 @@ public abstract class PackageManager { * on the system for other users, also install it for the calling user. * on the system for other users, also install it for the calling user. * @hide * @hide */ */ @SystemApi public abstract int installExistingPackage(String packageName) throws NameNotFoundException; public abstract int installExistingPackage(String packageName) throws NameNotFoundException; /** /** Loading @@ -4728,6 +4729,7 @@ public abstract class PackageManager { * on the system for other users, also install it for the calling user. * on the system for other users, also install it for the calling user. * @hide * @hide */ */ @SystemApi public abstract int installExistingPackage(String packageName, @InstallReason int installReason) public abstract int installExistingPackage(String packageName, @InstallReason int installReason) throws NameNotFoundException; throws NameNotFoundException; Loading