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

Commit 8c2a8288 authored by Griff Hazen's avatar Griff Hazen Committed by Android Git Automerger
Browse files

am c15d315a: am a9cb1e66: Add full screen size preset to WearableExtender

* commit 'c15d315a':
  Add full screen size preset to WearableExtender
parents 2a94fda7 c15d315a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4691,6 +4691,7 @@ package android.app {
    method public android.app.Notification.WearableExtender setHintShowBackgroundOnly(boolean);
    method public android.app.Notification.WearableExtender setStartScrollBottom(boolean);
    field public static final int SIZE_DEFAULT = 0; // 0x0
    field public static final int SIZE_FULL_SCREEN = 5; // 0x5
    field public static final int SIZE_LARGE = 4; // 0x4
    field public static final int SIZE_MEDIUM = 3; // 0x3
    field public static final int SIZE_SMALL = 2; // 0x2
+8 −0
Original line number Diff line number Diff line
@@ -3355,6 +3355,14 @@ public class Notification implements Parcelable
         */
        public static final int SIZE_LARGE = 4;

        /**
         * Size value for use with {@link #setCustomSizePreset} to show this notification
         * full screen.
         * <p>This value is only applicable for custom display notifications created using
         * {@link #setDisplayIntent}.
         */
        public static final int SIZE_FULL_SCREEN = 5;

        /** Notification extra which contains wearable extensions */
        private static final String EXTRA_WEARABLE_EXTENSIONS = "android.wearable.EXTENSIONS";