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

Commit d750b856 authored by Richard Uhler's avatar Richard Uhler
Browse files

Rename RollbackInfo.getSessionId to getCommittedSessionId.

To clarify which session id it is returning.

Bug: 112431924
Test: builds.
Change-Id: I991477636f21440894d595f93926a32b7380708b
parent 66a23d05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1699,9 +1699,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;
    }