Loading services/core/java/com/android/server/wm/TaskSnapshotController.java +1 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ class TaskSnapshotController { } final GraphicBuffer buffer = top.mDisplayContent.screenshotApplicationsToBuffer(top.token, -1, -1, false, 1.0f, false, true); if (buffer == null) { if (buffer == null || buffer.getWidth() <= 1 || buffer.getHeight() <= 1) { return null; } return new TaskSnapshot(buffer, top.getConfiguration().orientation, Loading Loading
services/core/java/com/android/server/wm/TaskSnapshotController.java +1 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ class TaskSnapshotController { } final GraphicBuffer buffer = top.mDisplayContent.screenshotApplicationsToBuffer(top.token, -1, -1, false, 1.0f, false, true); if (buffer == null) { if (buffer == null || buffer.getWidth() <= 1 || buffer.getHeight() <= 1) { return null; } return new TaskSnapshot(buffer, top.getConfiguration().orientation, Loading