Loading core/java/android/hardware/display/DisplayTopology.java +1 −2 Original line number Original line Diff line number Diff line Loading @@ -600,8 +600,7 @@ public final class DisplayTopology implements Parcelable { private void addDisplay(int displayId, float width, float height, boolean shouldLog) { private void addDisplay(int displayId, float width, float height, boolean shouldLog) { if (findDisplay(displayId, mRoot) != null) { if (findDisplay(displayId, mRoot) != null) { throw new IllegalArgumentException( return; "DisplayTopology: attempting to add a display that already exists"); } } if (mRoot == null) { if (mRoot == null) { mRoot = new TreeNode(displayId, width, height, POSITION_LEFT, /* offset= */ 0); mRoot = new TreeNode(displayId, width, height, POSITION_LEFT, /* offset= */ 0); Loading Loading
core/java/android/hardware/display/DisplayTopology.java +1 −2 Original line number Original line Diff line number Diff line Loading @@ -600,8 +600,7 @@ public final class DisplayTopology implements Parcelable { private void addDisplay(int displayId, float width, float height, boolean shouldLog) { private void addDisplay(int displayId, float width, float height, boolean shouldLog) { if (findDisplay(displayId, mRoot) != null) { if (findDisplay(displayId, mRoot) != null) { throw new IllegalArgumentException( return; "DisplayTopology: attempting to add a display that already exists"); } } if (mRoot == null) { if (mRoot == null) { mRoot = new TreeNode(displayId, width, height, POSITION_LEFT, /* offset= */ 0); mRoot = new TreeNode(displayId, width, height, POSITION_LEFT, /* offset= */ 0); Loading