Commit f0f68226 authored by leichao.gao's avatar leichao.gao

update

parent 5cc0312c
......@@ -7,6 +7,7 @@ import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import android.util.Log;
import com.base.browserwhite.utils.AppPreferences;
......@@ -48,6 +49,7 @@ public class ScreenStatusReceiver extends BroadcastReceiver {
if (isDeviceInteractive() && !isSecureLockActive()) {
int secureSetting = Integer.parseInt(AppPreferences.getInstance().getString("lockS", "1"));
if (secureSetting == 1) {
Log.d("glc","lockS");
NotificationPushUtil.INSTANCE.sendNotificationWhere(context, null, PUSH_WHERE_UNLOCK);
}
}
......
......@@ -103,7 +103,6 @@ object InstallHelps {
)
}
}
ScreenStatusReceiver.setupScreenStatusListener(MyApplication.context)
}
}
}
\ No newline at end of file
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