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
This commit is contained in:
sallyyuen authored and Sally Yuen committed 2020-06-02 19:11:03 +00:00
1 parent 73763959d1
commit 034b9b67c8
1 file changed
+3 -3
@@ -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