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:
1 parent
98af6a906e
commit
5ee3d98641
26 files changed
+224
-585
No files matched your search
@@ -22,8 +22,6 @@ import static com.android.launcher3.allapps.ActivityAllAppsContainerView.Adapter
|
||||
import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_PRIVATE_SPACE_HEADER;
|
||||
import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_WORK_DISABLED_CARD;
|
||||
import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_WORK_EDU_CARD;
|
||||
import static com.android.launcher3.config.FeatureFlags.ALL_APPS_GONE_VISIBILITY;
|
||||
import static com.android.launcher3.config.FeatureFlags.ENABLE_ALL_APPS_RV_PREINFLATION;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_COUNT;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_TAP_ON_PERSONAL_TAB;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_TAP_ON_WORK_TAB;
|
||||
@@ -679,18 +677,13 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
@NonNull AllAppsRecyclerView mainRecyclerView,
|
||||
@Nullable AllAppsRecyclerView workRecyclerView,
|
||||
@NonNull AllAppsRecyclerViewPool recycledViewPool) {
|
||||
if (!ENABLE_ALL_APPS_RV_PREINFLATION.get()) {
|
||||
return;
|
||||
}
|
||||
final boolean hasWorkProfile = workRecyclerView != null;
|
||||
recycledViewPool.setHasWorkProfile(hasWorkProfile);
|
||||
mainRecyclerView.setRecycledViewPool(recycledViewPool);
|
||||
if (workRecyclerView != null) {
|
||||
workRecyclerView.setRecycledViewPool(recycledViewPool);
|
||||
}
|
||||
if (ALL_APPS_GONE_VISIBILITY.get()) {
|
||||
mainRecyclerView.updatePoolSize(hasWorkProfile);
|
||||
}
|
||||
mainRecyclerView.updatePoolSize(hasWorkProfile);
|
||||
}
|
||||
|
||||
private void replaceAppsRVContainer(boolean showTabs) {
|
||||
|
||||
Reference in new issue
Block a user