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

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ax.a;

class a$1 implements a {
    final /* synthetic */ a oNv;

    a$1(a aVar) {
        this.oNv = aVar;
    }

    public final void ih(int i) {
        AppMethodBeat.i(137547);
        switch (i) {
            case 0:
                if (this.oNv.oJZ) {
                    this.oNv.oJZ = false;
                    this.oNv.resume();
                    AppMethodBeat.o(137547);
                    return;
                }
                break;
            case 1:
            case 2:
                if (this.oNv.aie()) {
                    this.oNv.oJZ = true;
                    this.oNv.pause();
                    break;
                }
                break;
        }
        AppMethodBeat.o(137547);
    }
}
