Loading services/surfaceflinger/SurfaceFlinger.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -536,6 +536,10 @@ status_t SurfaceFlinger::getDisplayInfo(const sp<IBinder>& display, DisplayInfo* } const HWComposer& hwc(getHwComposer()); if (!hwc.isConnected(type)) { return NAME_NOT_FOUND; } float xdpi = hwc.getDpiX(type); float ydpi = hwc.getDpiY(type); Loading Loading
services/surfaceflinger/SurfaceFlinger.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -536,6 +536,10 @@ status_t SurfaceFlinger::getDisplayInfo(const sp<IBinder>& display, DisplayInfo* } const HWComposer& hwc(getHwComposer()); if (!hwc.isConnected(type)) { return NAME_NOT_FOUND; } float xdpi = hwc.getDpiX(type); float ydpi = hwc.getDpiY(type); Loading