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

Commit 21078f0c authored by Youming Ye's avatar Youming Ye Committed by paulye
Browse files

AddRestrictCause

Bug: 130744052
Test: Build
Change-Id: I51c49b8736c42276f7fd66168eeb3f9959b4d492
parent f8e199f0
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -545,7 +545,8 @@ public final class ImsCallProfile implements Parcelable {
                + ", emergencyUrns=" + mEmergencyUrns
                + ", emergencyCallRouting=" + mEmergencyCallRouting
                + ", emergencyCallTesting=" + mEmergencyCallTesting
                + ", hasKnownUserIntentEmergency=" + mHasKnownUserIntentEmergency + " }";
                + ", hasKnownUserIntentEmergency=" + mHasKnownUserIntentEmergency
                + ", mRestrictCause=" + mRestrictCause + " }";
    }

    @Override
@@ -565,6 +566,7 @@ public final class ImsCallProfile implements Parcelable {
        out.writeInt(mEmergencyCallRouting);
        out.writeBoolean(mEmergencyCallTesting);
        out.writeBoolean(mHasKnownUserIntentEmergency);
        out.writeInt(mRestrictCause);
    }

    private void readFromParcel(Parcel in) {
@@ -577,6 +579,7 @@ public final class ImsCallProfile implements Parcelable {
        mEmergencyCallRouting = in.readInt();
        mEmergencyCallTesting = in.readBoolean();
        mHasKnownUserIntentEmergency = in.readBoolean();
        mRestrictCause = in.readInt();
    }

    public static final Creator<ImsCallProfile> CREATOR = new Creator<ImsCallProfile>() {