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

Commit 274239d9 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Correct annotation of ActivityOptions.SourceInfo.SourceType

The field only presents one type, so it should not be a flag.

Also correct a typo comma.

Bug: 174237260
Test: build
Change-Id: I7bd1cf0778fc8c11f3ff9dfcbc32129a6b74821b
parent 331168f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1878,7 +1878,7 @@ public class ActivityOptions {
        /** Launched from recents gesture handler. */
        public static final int TYPE_RECENTS_ANIMATION = 4;

        @IntDef(flag = true, prefix = { "TYPE_" }, value = {
        @IntDef(prefix = { "TYPE_" }, value = {
                TYPE_LAUNCHER,
                TYPE_NOTIFICATION,
                TYPE_LOCKSCREEN,
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ public class RecentsAnimationController implements DeathRecipient {
    private static final long FAILSAFE_DELAY = 1000;
    /**
     * If the recents animation is canceled before the delay since the window drawn, do not log the
     * action because the duration is too small that may be just a mistouch,
     * action because the duration is too small that may be just a mistouch.
     */
    private static final long LATENCY_TRACKER_LOG_DELAY_MS = 300;