Adding PipManager dumps.
Test: adb shell dumpsys activity service com.android.systemui
Change-Id: Id647833f1b4dcb6226517c058d17d1812f022671
diff --git a/packages/SystemUI/src/com/android/systemui/pip/phone/PipManager.java b/packages/SystemUI/src/com/android/systemui/pip/phone/PipManager.java
index f59b2a4..42f1b14 100644
--- a/packages/SystemUI/src/com/android/systemui/pip/phone/PipManager.java
+++ b/packages/SystemUI/src/com/android/systemui/pip/phone/PipManager.java
@@ -32,13 +32,16 @@
import android.view.IWindowManager;
import android.view.WindowManagerGlobal;
+import com.android.systemui.pip.BasePipManager;
import com.android.systemui.recents.misc.SystemServicesProxy;
import com.android.systemui.recents.misc.SystemServicesProxy.TaskStackListener;
+import java.io.PrintWriter;
+
/**
* Manages the picture-in-picture (PIP) UI and states for Phones.
*/
-public class PipManager {
+public class PipManager implements BasePipManager {
private static final String TAG = "PipManager";
private static PipManager sPipController;
@@ -179,4 +182,11 @@
}
return sPipController;
}
+
+ public void dump(PrintWriter pw) {
+ final String innerPrefix = " ";
+ pw.println(TAG);
+ mMenuController.dump(pw, innerPrefix);
+ mTouchHandler.dump(pw, innerPrefix);
+ }
}