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

Commit 034b9b67 authored by sallyyuen's avatar sallyyuen Committed by Sally Yuen
Browse files

Use global action constant for a11y All Apps action

"All apps" will be identified by a11y services with new id.

Bug: 157078174
Test: Manual with TalkBack
Change-Id: I6b47b93e0141a7d2a28a21ef35f80157b413a55e
parent 73763959
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -134,10 +134,10 @@ public class TouchInteractionService extends Service implements PluginListener<O
    private static final int MAX_BACK_NOTIFICATION_COUNT = 3;

    /**
     * System Action ID to show all apps.  This ID should follow the ones in
     * com.android.systemui.accessibility.SystemActions.
     * System Action ID to show all apps.
     * TODO: Use AccessibilityService's corresponding global action constant in S
     */
    private static final int SYSTEM_ACTION_ID_ALL_APPS = 100;
    private static final int SYSTEM_ACTION_ID_ALL_APPS = 14;

    private int mBackGestureNotificationCounter = -1;
    @Nullable