Commit 3b34df93 authored by wanglei's avatar wanglei

...

parent 89017184
......@@ -8,6 +8,7 @@ import android.content.IntentFilter;
import android.os.Build;
import com.base.pdfviewerscannerwhite.utils.AppPreferences;
import com.base.pdfviewerscannerwhite.utils.LogEx;
import java.util.Objects;
......@@ -43,6 +44,7 @@ public class ScreenStatusReceiver extends BroadcastReceiver {
setSecureLockActive(true);
break;
case Intent.ACTION_USER_PRESENT:
LogEx.INSTANCE.logDebug("ScreenStatusReceiver", "ACTION_USER_PRESENT", false);
setSecureLockActive(false);
if (isDeviceInteractive() && !isSecureLockActive()) {
int secureSetting = Integer.parseInt(AppPreferences.getInstance().getString("lockS", "1"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment