Removing unnecessary device sumaltion code

Bug: 276774148
Test: Verified on device
Change-Id: Icb8c2e7649e5b0e107af184b63f7e30f2df717bd
This commit is contained in:
Sunny Goyal committed 2023-04-03 12:38:52 -07:00
1 parent 503d86c45b
commit 076e04bcc2
6 files changed
+39 -395

No files matched your search

@@ -386,6 +386,13 @@ public class DisplayController implements ComponentCallbacks, SafeCloseable {
return dpiFromPx(Math.min(bounds.bounds.width(), bounds.bounds.height()), densityDpi);
}
/**
* Returns all displays for the device
*/
public Set<CachedDisplayInfo> getAllDisplays() {
return Collections.unmodifiableSet(mPerDisplayBounds.keySet());
}
public int getDensityDpi() {
return densityDpi;
}