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

Commit aa970ec2 authored by Ivo Kay's avatar Ivo Kay
Browse files

Extend app startup source type with QSS, Tile and Complication.

Test: m
Bug: 404763922
Flag: EXEMPT, hidden API, no behaviour change
Change-Id: Ib952583f30e7e769b1802f5df8c919fae74a817a
parent 5a9c6aac
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -2822,12 +2822,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 {}