package d.f.a.r2;

import android.os.PowerManager;
import com.ifpdos.debugmenu.DebugMenuApplication;

/* JADX INFO: compiled from: lambda */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class g implements f.a.v.c {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ String f3204b;

    public /* synthetic */ g(String str) {
        this.f3204b = str;
    }

    @Override // f.a.v.c
    public final void accept(Object obj) {
        String str = this.f3204b;
        if (d.i.c.a.o()) {
            d.i.c.a.b("su");
        }
        d.i.c.a.b("sync");
        d.i.c.a.b("reboot " + str);
        ((PowerManager) DebugMenuApplication.f1956b.getSystemService("power")).reboot(str);
    }
}
