Skip to content

Commit fbe963f

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "Remove unnecessary code." into jb-mr1-dev
2 parents 329465c + 5098fd8 commit fbe963f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/java/android/view/Display.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,6 @@ public void getMetrics(DisplayMetrics outMetrics) {
292292
updateDisplayInfoLocked();
293293
mDisplayInfo.getAppMetrics(outMetrics, mCompatibilityInfo);
294294
}
295-
296-
final CompatibilityInfo ci = mCompatibilityInfo.getIfNeeded();
297-
if (ci != null) {
298-
ci.applyToDisplayMetrics(outMetrics);
299-
}
300295
}
301296

302297
/**

0 commit comments

Comments
 (0)