bug fix
This commit is contained in:
parent
175462a344
commit
448dfc3ab7
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue