mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 00:36:49 +00:00
Add log dumps for taskbar state
Test: created bugreport and checked logs Bug: - Change-Id: Ic0c2330b18c8daf181ae5b236e0c4b212d630fa3
This commit is contained in:
@@ -29,6 +29,7 @@ import com.android.launcher3.util.IntSet;
|
||||
import com.android.launcher3.util.ItemInfoMatcher;
|
||||
import com.android.launcher3.util.LauncherBindableItemsContainer;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@@ -196,4 +197,15 @@ public class TaskbarModelCallbacks implements
|
||||
public void bindDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMapCopy) {
|
||||
mControllers.taskbarPopupController.setDeepShortcutMap(deepShortcutMapCopy);
|
||||
}
|
||||
|
||||
protected void dumpLogs(String prefix, PrintWriter pw) {
|
||||
pw.println(prefix + "TaskbarModelCallbacks:");
|
||||
|
||||
pw.println(String.format("%s\thotseat items count=%s", prefix, mHotseatItems.size()));
|
||||
if (mPredictedItems != null) {
|
||||
pw.println(
|
||||
String.format("%s\tpredicted items count=%s", prefix, mPredictedItems.size()));
|
||||
}
|
||||
pw.println(String.format("%s\tmBindInProgress=%b", prefix, mBindInProgress));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user