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

Commit b176e7c3 authored by Keun-young Park's avatar Keun-young Park Committed by android-build-merger
Browse files

Merge "show different timing log for shutdown animation" into oc-dev am: 0e59ab04

am: 3d9383aa

Change-Id: I82b9e0994aa1997588476f63e6f7181d155e1dee
parents 9ea110f7 3d9383aa
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -370,7 +370,8 @@ bool BootAnimation::threadLoop()

bool BootAnimation::android()
{
    ALOGD("BootAnimationShownTiming start time: %" PRId64 "ms", elapsedRealtime());
    ALOGD("%sAnimationShownTiming start time: %" PRId64 "ms", mShuttingDown ? "Shutdown" : "Boot",
            elapsedRealtime());
    initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png");
    initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png");

@@ -896,7 +897,8 @@ bool BootAnimation::playAnimation(const Animation& animation)
    const int animationX = (mWidth - animation.width) / 2;
    const int animationY = (mHeight - animation.height) / 2;

    ALOGD("BootAnimationShownTiming start time: %" PRId64 "ms", elapsedRealtime());
    ALOGD("%sAnimationShownTiming start time: %" PRId64 "ms", mShuttingDown ? "Shutdown" : "Boot",
            elapsedRealtime());
    for (size_t i=0 ; i<pcount ; i++) {
        const Animation::Part& part(animation.parts[i]);
        const size_t fcount = part.frames.size();