File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
core/java/android/hardware/display
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments