This commit is contained in:
Page Asgardius 2023-02-22 12:36:04 -07:00
parent 175462a344
commit 448dfc3ab7

View file

@ -329,11 +329,11 @@ public class VideoPlayer extends AppCompatActivity {
@Override
public void onDestroy() {
if (!mWifiLock.isHeld()) {
if (mWifiLock.isHeld()) {
mWifiLock.release();
//System.out.println("WifiLock acquired");
}
if (!mWakeLock.isHeld()) {
if (mWakeLock.isHeld()) {
mWakeLock.release();
//System.out.println("WakeLock acquired");
}