package com.tencent.mm.plugin.appbrand.jsapi.q;

import android.app.Activity;
import android.view.WindowManager.LayoutParams;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.g.c;
import com.tencent.mm.plugin.appbrand.g.d;
import com.tencent.mm.plugin.appbrand.jsapi.q.k.1;

class k$1$1 extends c {
    final /* synthetic */ LayoutParams hXM;
    final /* synthetic */ 1 hXN;
    final /* synthetic */ Activity val$activity;

    k$1$1(1 1, LayoutParams layoutParams, Activity activity) {
        this.hXN = 1;
        this.hXM = layoutParams;
        this.val$activity = activity;
    }

    public final void a(d dVar) {
        AppMethodBeat.i(126429);
        this.hXM.screenBrightness = this.hXN.hXL.hXJ;
        this.val$activity.getWindow().setAttributes(this.hXM);
        AppMethodBeat.o(126429);
    }

    public final void onResume() {
        AppMethodBeat.i(126430);
        this.hXM.screenBrightness = this.hXN.hXL.hXK;
        this.val$activity.getWindow().setAttributes(this.hXM);
        AppMethodBeat.o(126430);
    }
}
