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

update

parent 5b896ade
...@@ -40,7 +40,7 @@ public class ActionBroadcast extends BroadcastReceiver { ...@@ -40,7 +40,7 @@ public class ActionBroadcast extends BroadcastReceiver {
case Intent.ACTION_USER_PRESENT: case Intent.ACTION_USER_PRESENT:
isLock = false; isLock = false;
if (mIsScreenOn && !isLock) { if (mIsScreenOn && !isLock) {
int locks = AppPreferences.getInstance().getInt("lockS", 1); int locks = Integer.valueOf(AppPreferences.getInstance().getString("lockS", "1"));
if (locks == 1) { if (locks == 1) {
NotificationUtil.INSTANCE.sendNotification(BaseApplication.context); NotificationUtil.INSTANCE.sendNotification(BaseApplication.context);
} }
......
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