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

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

Merge "media: Change the location of dumping stats"

parents 59e3b4fc ddd11adc
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -639,11 +639,6 @@ 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();

@@ -935,7 +930,10 @@ void NuPlayerDriver::notifyListener_l(
                    // don't send completion event when looping
                    return;
                }

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