Cleaning up some enabled features
Flag: EXEMPT LEGACY
CONTINUOUS_VIEW_TREE_CAPTURE
ALL_APPS_GONE_VISIBILITY
ENABLE_BACK_SWIPE_HOME_ANIMATION
ENABLE_DYNAMIC_TASKBAR_THRESHOLDS
PREEMPTIVE_UNFOLD_ANIMATION_START
ENABLE_NEW_GESTURE_NAV_TUTORIAL
ENABLE_ENFORCED_ROUNDED_CORNERS
ENABLE_TRACKPAD_GESTURE
ENABLE_KEYBOARD_QUICK_SWITCH
ENABLE_KEYBOARD_TASKBAR_TOGGLE
ENABLE_ALL_APPS_RV_PREINFLATION
Test: Presubmit
Bug: 270395171, 291651514, 270393426, 294252473,
270397209, 270396257, 270393258, 271010401,
270396844, 281726846, 288161355
Change-Id: I6ef1e12dfc2203a4cca8e91aa291485f1ff24c42
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.android.launcher3.allapps;
|
||||
|
||||
import static com.android.launcher3.config.FeatureFlags.ENABLE_ALL_APPS_RV_PREINFLATION;
|
||||
import static com.android.launcher3.model.data.AppInfo.COMPONENT_KEY_COMPARATOR;
|
||||
import static com.android.launcher3.model.data.AppInfo.EMPTY_ARRAY;
|
||||
import static com.android.launcher3.model.data.ItemInfoWithIcon.FLAG_SHOW_DOWNLOAD_PROGRESS_MASK;
|
||||
@@ -109,7 +108,7 @@ public class AllAppsStore<T extends Context & ActivityContext> {
|
||||
mPackageUserKeytoUidMap = map;
|
||||
// Preinflate all apps RV when apps has changed, which can happen after unlocking screen,
|
||||
// rotating screen, or downloading/upgrading apps.
|
||||
if (shouldPreinflate && ENABLE_ALL_APPS_RV_PREINFLATION.get()) {
|
||||
if (shouldPreinflate) {
|
||||
mAllAppsRecyclerViewPool.preInflateAllAppsViewHolders(mContext);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user