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

Commit 8aacb2e9 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioAttributes: unhide CREATOR

android.media.AudioAttributes implements the Parcelable interface,
 and is part of the SDK, it therefore requires CREATOR, writeToParcel,
 and describeContents to be "unhidden".
CREATOR was still @hide

Bug 17390818

Change-Id: I9c1cb1d454fe538cb5be6066ebed290a99352da9
parent a6863ad6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14051,6 +14051,7 @@ package android.media {
    field public static final int CONTENT_TYPE_SONIFICATION = 4; // 0x4
    field public static final int CONTENT_TYPE_SPEECH = 1; // 0x1
    field public static final int CONTENT_TYPE_UNKNOWN = 0; // 0x0
    field public static final android.os.Parcelable.Creator CREATOR;
    field public static final int FLAG_AUDIBILITY_ENFORCED = 1; // 0x1
    field public static final int USAGE_ALARM = 4; // 0x4
    field public static final int USAGE_ASSISTANCE_ACCESSIBILITY = 11; // 0xb
+0 −1
Original line number Diff line number Diff line
@@ -530,7 +530,6 @@ public final class AudioAttributes implements Parcelable {
        }
    }

    /** @hide */
    public static final Parcelable.Creator<AudioAttributes> CREATOR
            = new Parcelable.Creator<AudioAttributes>() {
        /**