Merge "Add logs around hotseat suggested apps" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
41d269a43b
@@ -73,6 +73,7 @@ import android.os.Bundle;
|
||||
import android.os.IBinder;
|
||||
import android.os.SystemProperties;
|
||||
import android.os.Trace;
|
||||
import android.util.Log;
|
||||
import android.view.Display;
|
||||
import android.view.HapticFeedbackConstants;
|
||||
import android.view.View;
|
||||
@@ -190,6 +191,8 @@ public class QuickstepLauncher extends Launcher {
|
||||
private static final String TRACE_RELAYOUT_CLASS =
|
||||
SystemProperties.get("persist.debug.trace_request_layout_class", null);
|
||||
|
||||
private static final String TAG = "QuickstepLauncher";
|
||||
|
||||
public static final boolean GO_LOW_RAM_RECENTS_ENABLED = false;
|
||||
|
||||
protected static final String RING_APPEAR_ANIMATION_PREFIX = "RingAppearAnimation\t";
|
||||
@@ -434,6 +437,7 @@ public class QuickstepLauncher extends Launcher {
|
||||
|
||||
@Override
|
||||
public void bindExtraContainerItems(FixedContainerItems item) {
|
||||
Log.d(TAG, "Bind extra container items");
|
||||
if (item.containerId == Favorites.CONTAINER_PREDICTION) {
|
||||
mAllAppsPredictions = item;
|
||||
PredictionRowView<?> predictionRowView =
|
||||
@@ -441,6 +445,7 @@ public class QuickstepLauncher extends Launcher {
|
||||
PredictionRowView.class);
|
||||
predictionRowView.setPredictedApps(item.items);
|
||||
} else if (item.containerId == Favorites.CONTAINER_HOTSEAT_PREDICTION) {
|
||||
Log.d(TAG, "Bind extra container item is hotseat prediction");
|
||||
mHotseatPredictionController.setPredictedItems(item);
|
||||
} else if (item.containerId == Favorites.CONTAINER_WIDGETS_PREDICTION) {
|
||||
getPopupDataProvider().setRecommendedWidgets(item.items);
|
||||
|
||||
Reference in New Issue
Block a user