Loading core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -60249,6 +60249,7 @@ package android.widget { } @FlaggedApi("android.appwidget.flags.draw_data_parcel") public static final class RemoteViews.DrawInstructions { method @FlaggedApi("android.appwidget.flags.draw_data_parcel") public static long getSupportedVersion(); } @FlaggedApi("android.appwidget.flags.draw_data_parcel") public static final class RemoteViews.DrawInstructions.Builder { core/java/android/widget/RemoteViews.java +11 −0 Original line number Diff line number Diff line Loading @@ -7573,6 +7573,8 @@ public class RemoteViews implements Parcelable, Filter { @FlaggedApi(FLAG_DRAW_DATA_PARCEL) public static final class DrawInstructions { private static final long VERSION = 1L; @NonNull final List<byte[]> mInstructions; Loading Loading @@ -7607,6 +7609,7 @@ public class RemoteViews implements Parcelable, Filter { } return new DrawInstructions(instructions); } private static void writeToParcel(@Nullable final DrawInstructions drawInstructions, @NonNull final Parcel dest, final int flags) { if (drawInstructions == null) { Loading @@ -7621,6 +7624,14 @@ public class RemoteViews implements Parcelable, Filter { } } /** * Version number of {@link DrawInstructions} currently supported. */ @FlaggedApi(FLAG_DRAW_DATA_PARCEL) public static long getSupportedVersion() { return VERSION; } /** * Builder class for {@link DrawInstructions} objects. */ Loading Loading
core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -60249,6 +60249,7 @@ package android.widget { } @FlaggedApi("android.appwidget.flags.draw_data_parcel") public static final class RemoteViews.DrawInstructions { method @FlaggedApi("android.appwidget.flags.draw_data_parcel") public static long getSupportedVersion(); } @FlaggedApi("android.appwidget.flags.draw_data_parcel") public static final class RemoteViews.DrawInstructions.Builder {
core/java/android/widget/RemoteViews.java +11 −0 Original line number Diff line number Diff line Loading @@ -7573,6 +7573,8 @@ public class RemoteViews implements Parcelable, Filter { @FlaggedApi(FLAG_DRAW_DATA_PARCEL) public static final class DrawInstructions { private static final long VERSION = 1L; @NonNull final List<byte[]> mInstructions; Loading Loading @@ -7607,6 +7609,7 @@ public class RemoteViews implements Parcelable, Filter { } return new DrawInstructions(instructions); } private static void writeToParcel(@Nullable final DrawInstructions drawInstructions, @NonNull final Parcel dest, final int flags) { if (drawInstructions == null) { Loading @@ -7621,6 +7624,14 @@ public class RemoteViews implements Parcelable, Filter { } } /** * Version number of {@link DrawInstructions} currently supported. */ @FlaggedApi(FLAG_DRAW_DATA_PARCEL) public static long getSupportedVersion() { return VERSION; } /** * Builder class for {@link DrawInstructions} objects. */ Loading