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

Commit faf09726 authored by Mike J. Chen's avatar Mike J. Chen
Browse files

DO NOT MERGE



This reverts commit d514fe7e.

We're not going to support < 1080p without scaling after all.

Change-Id: I54b17f3ca02351382ddf90c729c6154733c95011
Signed-off-by: default avatarMike J. Chen <mjchen@google.com>
parent d514fe7e
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -213,14 +213,9 @@ status_t BootAnimation::readyToRun() {
    mAssets.addDefaultAssets();

    DisplayInfo dinfo;
    char display_size[PROPERTY_VALUE_MAX];

    if (property_get("sys.display-size", display_size, "") <= 0 ||
        sscanf(display_size, "%dx%d", &dinfo.w, &dinfo.h) != 2) {
    status_t status = session()->getDisplayInfo(0, &dinfo);
    if (status)
        return -1;
    }

    // create the native surface
    sp<SurfaceControl> control = session()->createSurface(