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

Commit a84741bc authored by Ivo Kay's avatar Ivo Kay Committed by Android (Google) Code Review
Browse files

Merge "Extend app startup source type with QSS, Tile and Complication." into main

parents 7df9573c aa970ec2
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -2877,12 +2877,22 @@ public class ActivityOptions extends ComponentOptions {
        public static final int TYPE_RECENTS_ANIMATION = 4;
        /** Launched from desktop's transition handler. */
        public static final int TYPE_DESKTOP_ANIMATION = 5;
        /** Launched from QSS (Quick Settings Shade). */
        public static final int TYPE_QSS = 6;
        /** Launched from a Wear OS tile. */
        public static final int TYPE_TILE = 7;
        /** Launched from a Wear OS complication. */
        public static final int TYPE_COMPLICATION = 8;

        @IntDef(prefix = { "TYPE_" }, value = {
                TYPE_LAUNCHER,
                TYPE_NOTIFICATION,
                TYPE_LOCKSCREEN,
                TYPE_DESKTOP_ANIMATION
                TYPE_RECENTS_ANIMATION,
                TYPE_DESKTOP_ANIMATION,
                TYPE_QSS,
                TYPE_TILE,
                TYPE_COMPLICATION
        })
        @Retention(RetentionPolicy.SOURCE)
        public @interface SourceType {}