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

Commit e9b7a0b7 authored by Jaewan Kim's avatar Jaewan Kim Committed by Android (Google) Code Review
Browse files

Merge "Session2Token: Write Session2Link in writeToParcel()"

parents 8ea6dc24 9a11c438
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -152,9 +152,7 @@ public final class Session2Token implements Parcelable {
        mType = in.readInt();
        mPackageName = in.readString();
        mServiceName = in.readString();
        // TODO: Uncomment below and stop hardcode mSessionLink
        mSessionLink = null;
        //mSessionLink = ISession.Stub.asInterface(in.readStrongBinder());
        mSessionLink = Session2Link.CREATOR.createFromParcel(in);
        mComponentName = ComponentName.unflattenFromString(in.readString());
    }

@@ -164,8 +162,7 @@ public final class Session2Token implements Parcelable {
        dest.writeInt(mType);
        dest.writeString(mPackageName);
        dest.writeString(mServiceName);
        // TODO: Uncomment below
        //dest.writeStrongBinder(mSessionLink.getBinder());
        mSessionLink.writeToParcel(dest, flags);
        dest.writeString(mComponentName == null ? "" : mComponentName.flattenToString());
    }