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

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

Merge "API cleanup: remove PackageInstaller.SessionParams#setEnableRollback"

parents f54473a8 2603027f
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -60,14 +60,6 @@ package android.content {


}
}


package android.content.pm {

  public static class PackageInstaller.SessionParams implements android.os.Parcelable {
    method @Deprecated public void setEnableRollback();
  }

}

package android.location {
package android.location {


  public class LocationManager {
  public class LocationManager {
+0 −13
Original line number Original line Diff line number Diff line
@@ -1447,19 +1447,6 @@ public class PackageInstaller {
            this.grantedRuntimePermissions = permissions;
            this.grantedRuntimePermissions = permissions;
        }
        }


        /**
         * Request that rollbacks be enabled for the given upgrade.
         *
         * @removed
         * @deprecated use {@link #setEnableRollback(boolean)} instead.
         * @hide
         */
        @Deprecated
        @SystemApi
        public void setEnableRollback() {
            installFlags |= PackageManager.INSTALL_ENABLE_ROLLBACK;
        }

        /**
        /**
         * Request that rollbacks be enabled or disabled for the given upgrade.
         * Request that rollbacks be enabled or disabled for the given upgrade.
         *
         *