mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Merge "Removing unnecessary device sumaltion code" into tm-qpr-dev
This commit is contained in:
@@ -392,6 +392,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user