bug fix
This commit is contained in:
parent
fa966d2a2d
commit
51d8da6fe5
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