package com.tencent.mm.plugin.music.d;

import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;

class a$1 extends Handler {
    final /* synthetic */ a oLO;

    a$1(a aVar, Looper looper) {
        this.oLO = aVar;
        super(looper);
    }

    public final void handleMessage(Message message) {
        AppMethodBeat.i(137475);
        if (100 == message.what) {
            long duration = this.oLO.oLD.getDuration();
            long currentPosition = this.oLO.oLD.getCurrentPosition();
            long bufferedPosition = this.oLO.oLD.getBufferedPosition();
            long bufferedPercentage = (long) this.oLO.oLD.getBufferedPercentage();
            ab.i("MicroMsg.Music.ExoMusicPlayer", "duration:%d, position:%d, bufferSize:%d, percent:%d", new Object[]{Long.valueOf(duration), Long.valueOf(currentPosition), Long.valueOf(bufferedPosition), Long.valueOf(bufferedPercentage)});
            this.oLO.awA.removeMessages(100);
            if (this.oLO.oKe) {
                this.oLO.awA.sendEmptyMessageDelayed(100, 5000);
            }
        }
        AppMethodBeat.o(137475);
    }
}
