Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad55651f authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I31c52bef into eclair

* changes:
  Revert change incorrectly submitted as part of change #32153.
parents e9ba5eec 092fa4be
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -118,8 +118,6 @@ FramebufferNativeWindow::FramebufferNativeWindow()
        LOGE_IF(err, "fb buffer 1 allocation failed w=%d, h=%d, err=%s",
        LOGE_IF(err, "fb buffer 1 allocation failed w=%d, h=%d, err=%s",
                fbDev->width, fbDev->height, strerror(-err));
                fbDev->width, fbDev->height, strerror(-err));


        LOGE("xDpi %d", fbDev->xdpi);
        LOGE("yDpi %d", fbDev->ydpi);
        const_cast<uint32_t&>(android_native_window_t::flags) = fbDev->flags; 
        const_cast<uint32_t&>(android_native_window_t::flags) = fbDev->flags; 
        const_cast<float&>(android_native_window_t::xdpi) = fbDev->xdpi;
        const_cast<float&>(android_native_window_t::xdpi) = fbDev->xdpi;
        const_cast<float&>(android_native_window_t::ydpi) = fbDev->ydpi;
        const_cast<float&>(android_native_window_t::ydpi) = fbDev->ydpi;