Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 890e4a75 authored by Alex Chau's avatar Alex Chau
Browse files

Dump DeviceProfile in TouchInteractionService dumpsys

- So DeviceProfile dumpsys will be available in bugreports, useful for debugging
- Only dump DeviceProfile in createdOverviewActivity if it's non-null

Fix: 221395133
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: Iaf7b7abd25771814be6cb918e96e042d1085debb
parent e4796198
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -959,6 +959,9 @@ public class TouchInteractionService extends Service
            pw.println("ProtoTrace:");
            pw.println("  file=" + ProtoTracer.INSTANCE.get(this).getTraceFile());
            mTaskbarManager.dumpLogs("", pw);
            if (createdOverviewActivity != null) {
                createdOverviewActivity.getDeviceProfile().dump("", pw);
            }
        }
    }