Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44763d1b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Deprecate unuses installer auto revoke whitelist api" into sc-dev

parents cde3a4ec ef3dc74a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12441,7 +12441,7 @@ package android.content.pm {
    method public void setAppIcon(@Nullable android.graphics.Bitmap);
    method public void setAppLabel(@Nullable CharSequence);
    method public void setAppPackageName(@Nullable String);
    method public void setAutoRevokePermissionsMode(boolean);
    method @Deprecated public void setAutoRevokePermissionsMode(boolean);
    method public void setDataLoaderParams(@NonNull android.content.pm.DataLoaderParams);
    method public void setInstallLocation(int);
    method public void setInstallReason(int);
+3 −0
Original line number Diff line number Diff line
@@ -1808,7 +1808,10 @@ public class PackageInstaller {
         * If user explicitly enabled or disabled it via settings, this call is ignored.
         *
         * @param shouldAutoRevoke whether permissions should be auto-revoked.
         *
         * @deprecated No longer used
         */
        @Deprecated
        public void setAutoRevokePermissionsMode(boolean shouldAutoRevoke) {
            autoRevokePermissionsMode = shouldAutoRevoke ? MODE_ALLOWED : MODE_IGNORED;
        }