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

Commit b856955f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "media: Print stats when application stops playback" into pi-dev

parents c1428baf 210451e5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -669,6 +669,11 @@ status_t NuPlayerDriver::reset() {
        notifyListener_l(MEDIA_STOPPED);
    }

    if (property_get_bool("persist.debug.sf.stats", false)) {
        Vector<String16> args;
        dump(-1, args);
    }

    mState = STATE_RESET_IN_PROGRESS;
    mPlayer->resetAsync();