Adding PipManager dumps.
Test: adb shell dumpsys activity service com.android.systemui Change-Id: Id647833f1b4dcb6226517c058d17d1812f022671
This commit is contained in:
@@ -25,6 +25,7 @@ import android.view.Gravity;
|
||||
import android.view.ViewConfiguration;
|
||||
import android.widget.Scroller;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
@@ -322,4 +323,13 @@ public class PipSnapAlgorithm {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void dump(PrintWriter pw, String prefix) {
|
||||
final String innerPrefix = prefix + " ";
|
||||
pw.println(prefix + PipSnapAlgorithm.class.getSimpleName());
|
||||
pw.println(innerPrefix + "mSnapMode=" + mSnapMode);
|
||||
pw.println(innerPrefix + "mOrientation=" + mOrientation);
|
||||
pw.println(innerPrefix + "mMinimizedVisibleSize=" + mMinimizedVisibleSize);
|
||||
pw.println(innerPrefix + "mIsMinimized=" + mIsMinimized);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user