Loading services/core/java/com/android/server/wm/ContentRecorder.java +2 −2 Original line number Diff line number Diff line Loading @@ -490,9 +490,9 @@ final class ContentRecorder implements WindowContainerListener { toSearch.add(recordedWindowContainer); while (!toSearch.isEmpty()) { final WindowContainer<?> wc = toSearch.poll(); if (wc != null && wc.getWindow() != null if (wc != null && wc.asWindowState() != null && wc.getWindowType() == WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY && wc.getWindow().mOwnerUid && wc.asWindowState().mOwnerUid == mContentRecordingSession.getRecordingOwnerUid()) { return wc.getSurfaceControl(); } Loading services/core/java/com/android/server/wm/WindowContainer.java +1 −2 Original line number Diff line number Diff line Loading @@ -113,8 +113,7 @@ import java.util.function.Predicate; * changes are made to this class. */ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<E> implements Comparable<WindowContainer>, Animatable, InsetsControlTarget { implements Comparable<WindowContainer>, Animatable { private static final String TAG = TAG_WITH_CLASS_NAME ? "WindowContainer" : TAG_WM; Loading Loading
services/core/java/com/android/server/wm/ContentRecorder.java +2 −2 Original line number Diff line number Diff line Loading @@ -490,9 +490,9 @@ final class ContentRecorder implements WindowContainerListener { toSearch.add(recordedWindowContainer); while (!toSearch.isEmpty()) { final WindowContainer<?> wc = toSearch.poll(); if (wc != null && wc.getWindow() != null if (wc != null && wc.asWindowState() != null && wc.getWindowType() == WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY && wc.getWindow().mOwnerUid && wc.asWindowState().mOwnerUid == mContentRecordingSession.getRecordingOwnerUid()) { return wc.getSurfaceControl(); } Loading
services/core/java/com/android/server/wm/WindowContainer.java +1 −2 Original line number Diff line number Diff line Loading @@ -113,8 +113,7 @@ import java.util.function.Predicate; * changes are made to this class. */ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<E> implements Comparable<WindowContainer>, Animatable, InsetsControlTarget { implements Comparable<WindowContainer>, Animatable { private static final String TAG = TAG_WITH_CLASS_NAME ? "WindowContainer" : TAG_WM; Loading