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

Commit 8ffae36f authored by Richard Uhler's avatar Richard Uhler Committed by Android (Google) Code Review
Browse files

Merge "Rename RollbackInfo.getSessionId to getCommittedSessionId."

parents 5059dae0 d750b856
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1718,9 +1718,9 @@ package android.content.rollback {
  public final class RollbackInfo implements android.os.Parcelable {
    method public int describeContents();
    method public java.util.List<android.content.pm.VersionedPackage> getCausePackages();
    method public int getCommittedSessionId();
    method public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages();
    method public int getRollbackId();
    method public int getSessionId();
    method public boolean isStaged();
    method public void writeToParcel(android.os.Parcel, int);
    field public static final android.os.Parcelable.Creator<android.content.rollback.RollbackInfo> CREATOR;
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ public final class RollbackInfo implements Parcelable {
     * Returns the session ID for the committed rollback for staged rollbacks.
     * Only applicable for rollbacks that have been committed.
     */
    public int getSessionId() {
    public int getCommittedSessionId() {
        // TODO: Support rollback of staged installs.
        return PackageInstaller.SessionInfo.INVALID_ID;
    }