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

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

am a9cb1e66: Add full screen size preset to WearableExtender

* commit 'a9cb1e66':
  Add full screen size preset to WearableExtender
parents be5898b1 a9cb1e66
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4141,6 +4141,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
@@ -2885,6 +2885,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";