We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2412590 commit 7264689Copy full SHA for 7264689
android/src/main/java/com/zxcpoiu/incallmanager/InCallManagerModule.java
@@ -783,7 +783,8 @@ private void releaseAudioFocus() {
783
@ReactMethod
784
public void pokeScreen(int timeout) {
785
//debugScreenPowerState();
786
- if (!mPowerManager.isInteractive() && mWindowManager.getDefaultDisplay().getState() != Display.STATE_ON) {
+ //if (!mPowerManager.isInteractive() && mWindowManager.getDefaultDisplay().getState() != Display.STATE_ON) {
787
+ if (!mPokeFullLock.isHeld()) {
788
Log.d(TAG, "pokeScreen()");
789
if (timeout > 0) {
790
acquirePokeFullWakeLockReleaseAfter(timeout); // --- ms
0 commit comments