Dump DepthController internals

Add DepthController to dumpsys, so it's easier to debug any future
issues.

Bug: 198732728
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Change-Id: Ifa7fe1d7fcb375cacc907d0da9524a2ee2a2677d
This commit is contained in:
Lucas Dupin
2021-09-10 22:57:24 +00:00
parent f4f7b2234e
commit 01c362bb6c
2 changed files with 33 additions and 2 deletions

View File

@@ -90,6 +90,8 @@ import com.android.systemui.unfold.UnfoldTransitionFactory;
import com.android.systemui.unfold.UnfoldTransitionProgressProvider;
import com.android.systemui.unfold.config.UnfoldTransitionConfig;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import java.util.List;
import java.util.stream.Stream;
@@ -619,4 +621,12 @@ public abstract class BaseQuickstepLauncher extends Launcher
recentsView.finishRecentsAnimation(/* toRecents= */ true, null);
}
}
@Override
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
if (mDepthController != null) {
mDepthController.dump(prefix, writer);
}
}
}