Implementation of PredictionRowView.

> Enable to use floating for prediction row even without tabs.
> Behind ALL_APPS_PREDICTION_ROW_VIEW feature flag.
> Expand/Collapse personal/work tabs in stopped intermediate state.

Bug: 68713881
Change-Id: I7817e7b7c6f572358f2b9a7a347339a9081708ee
This commit is contained in:
Mario Bertschler committed 2017-11-16 17:07:44 -08:00
1 parent 7149889dc0
commit 2153e1c814
8 files changed
+181 -67

No files matched your search

@@ -460,7 +460,7 @@ public class AlphabeticalAppsList {
mFastScrollerSections.clear();
mAdapterItems.clear();
if (!FeatureFlags.ALL_APPS_TABS_ENABLED) {
if (!FeatureFlags.ALL_APPS_PREDICTION_ROW_VIEW) {
if (DEBUG_PREDICTIONS) {
if (mPredictedAppComponents.isEmpty() && !mApps.isEmpty()) {
mPredictedAppComponents.add(new ComponentKeyMapper<AppInfo>(new ComponentKey(mApps.get(0).componentName,