remove comment

This commit is contained in:
Vologhat
2022-10-04 00:28:34 +03:00
parent 18709ac89f
commit d17e4849eb
@@ -8,9 +8,11 @@ import android.os.Build;
import android.os.PowerManager;
import android.provider.Settings;
import ru.vtosters.lite.deviceinfo.OEMDetector;
public class DisableBattery {
public static void alert(Activity activity) {
if (/*OEMDetector.isOEM() &&*/ Build.VERSION.SDK_INT >= 23) {
if (OEMDetector.isOEM() && Build.VERSION.SDK_INT >= 23) {
Intent intent = new Intent();
String packageName = activity.getPackageName();
PowerManager pm = (PowerManager) activity.getSystemService(Context.POWER_SERVICE);