Commit 18a5d727 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 3f24f8fd
......@@ -47,7 +47,10 @@ public class NotificationService extends Service {
super.onCreate();
// 开启定时器
AlarmManager.getInstance().startTime();
try {
AlarmManager.getInstance().startTime();
} catch (Exception e) {
}
try {
notification = getFixedNotification(this);
......
......@@ -331,6 +331,7 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback,
bundle.putInt(Constant.WRAPPER_TYPE, Constant.WRAPPER_TYPE_WZ)
readyGo(WrapperActivity::class.java, bundle)
}
Constant.HOT_ACTIVITY_CPD -> {
if (!UserManager.getInstance().userIsLogin()) {
readyGo(WxLoginActivity::class.java)
......
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