Skip to content

Commit aa871b0

Browse files
author
Jeff Brown
committed
Fix build.
Change-Id: Ife2fd58447205407e41ce3d27e28a705b744bede
1 parent fa25bf5 commit aa871b0

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

core/java/android/hardware/display/DisplayManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public static DisplayManager getInstance() {
6464
* @param displayId The logical display id.
6565
* @param outInfo A structure to populate with the display info.
6666
* @return True if the logical display exists, false otherwise.
67+
* @hide
6768
*/
6869
public boolean getDisplayInfo(int displayId, DisplayInfo outInfo) {
6970
try {

tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowManager.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,6 @@ public int getRotation() throws RemoteException {
7070
return mRotation;
7171
}
7272

73-
@Override
74-
public void getDisplayInfo(int arg0, DisplayInfo arg1) throws RemoteException {
75-
arg1.appWidth = mMetrics.widthPixels;
76-
arg1.appHeight = mMetrics.heightPixels;
77-
arg1.logicalWidth = mMetrics.widthPixels;
78-
arg1.logicalHeight = mMetrics.heightPixels;
79-
arg1.logicalDensity = mMetrics.density;
80-
arg1.physicalXDpi = mMetrics.xdpi;
81-
arg1.physicalYDpi = mMetrics.ydpi;
82-
}
83-
8473
// ---- unused implementation of IWindowManager ----
8574

8675
@Override

0 commit comments

Comments
 (0)