reintroduced hideControls method.
This commit is contained in:
parent
981174a490
commit
429dddc6c9
7 changed files with 46 additions and 0 deletions
8
app/src/debug/gen/org/schabi/newpipe/BuildConfig.java
Normal file
8
app/src/debug/gen/org/schabi/newpipe/BuildConfig.java
Normal file
|
@ -0,0 +1,8 @@
|
|||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package org.schabi.newpipe;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
|
||||
public final class BuildConfig {
|
||||
public final static boolean DEBUG = Boolean.parseBoolean(null);
|
||||
}
|
7
app/src/debug/gen/org/schabi/newpipe/Manifest.java
Normal file
7
app/src/debug/gen/org/schabi/newpipe/Manifest.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package org.schabi.newpipe;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
|
||||
public final class Manifest {
|
||||
}
|
7
app/src/debug/gen/org/schabi/newpipe/R.java
Normal file
7
app/src/debug/gen/org/schabi/newpipe/R.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package org.schabi.newpipe;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
|
||||
public final class R {
|
||||
}
|
8
app/src/main/gen/org/schabi/newpipe/BuildConfig.java
Normal file
8
app/src/main/gen/org/schabi/newpipe/BuildConfig.java
Normal file
|
@ -0,0 +1,8 @@
|
|||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package org.schabi.newpipe;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
|
||||
public final class BuildConfig {
|
||||
public final static boolean DEBUG = Boolean.parseBoolean(null);
|
||||
}
|
7
app/src/main/gen/org/schabi/newpipe/Manifest.java
Normal file
7
app/src/main/gen/org/schabi/newpipe/Manifest.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package org.schabi.newpipe;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
|
||||
public final class Manifest {
|
||||
}
|
7
app/src/main/gen/org/schabi/newpipe/R.java
Normal file
7
app/src/main/gen/org/schabi/newpipe/R.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*___Generated_by_IDEA___*/
|
||||
|
||||
package org.schabi.newpipe;
|
||||
|
||||
/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
|
||||
public final class R {
|
||||
}
|
|
@ -662,6 +662,8 @@ public final class PopupVideoPlayer extends Service {
|
|||
videoPlayPause.setBackgroundResource(R.drawable.ic_pause_white);
|
||||
lockManager.acquireWifiAndCpu();
|
||||
|
||||
hideControls(DEFAULT_CONTROLS_DURATION, DEFAULT_CONTROLS_HIDE_TIME);
|
||||
|
||||
windowLayoutParams.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
|
||||
windowManager.updateViewLayout(playerImpl.getRootView(), windowLayoutParams);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue