diff options
author | Kevin <kevhan@google.com> | 2019-02-28 12:15:54 -0800 |
---|---|---|
committer | Kevin <kevhan@google.com> | 2019-03-01 10:43:00 -0800 |
commit | 5a3f7ae764b196a6df370cc4250457584731da05 (patch) | |
tree | 5b4d8ecb87a80c2ace23fe4ebda6f889e9980bcc /quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java | |
parent | 9272d0d31bcce5a7f8faf77b44ccbf817d0a96e1 (diff) | |
download | android_packages_apps_Trebuchet-5a3f7ae764b196a6df370cc4250457584731da05.tar.gz android_packages_apps_Trebuchet-5a3f7ae764b196a6df370cc4250457584731da05.tar.bz2 android_packages_apps_Trebuchet-5a3f7ae764b196a6df370cc4250457584731da05.zip |
Load app content descriptions for Go recents.
Recents Go with icons will use the app's title description as the app
label, so we need this to actually load when we load the task's content
even if accessibility is disabled. This CL puts this behind a static
flag only set to true in recents Go code.
Bug: 114136250
Test: Log that titles/labels are appropriately fetched
Change-Id: I4fe7d8758b3141695a82c0677cec97686c977934
Diffstat (limited to 'quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java')
-rw-r--r-- | quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java index 027fd910c..50cc4daed 100644 --- a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java +++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java @@ -44,6 +44,7 @@ import java.util.ArrayList; */ public abstract class RecentsUiFactory { + public static final boolean GO_LOW_RAM_RECENTS_ENABLED = false; private static final AsyncCommand SET_SHELF_HEIGHT_CMD = (visible, height) -> WindowManagerWrapper.getInstance().setShelfHeight(visible != 0, height); |