version:1.2
fix:优化卡顿 update:基本对接完成,增加指示器放大
This commit is contained in:
@@ -6,6 +6,7 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
import com.uiui.zyos.disklrucache.CacheHelper;
|
||||
import com.uiui.zyos.network.NetInterfaceManager;
|
||||
import com.uiui.zyos.utils.ToastUtil;
|
||||
|
||||
public class PushManager {
|
||||
@@ -44,14 +45,21 @@ public class PushManager {
|
||||
|
||||
//闹钟
|
||||
private static final String JIGUANG_ALARM_CLOCK = "57";
|
||||
/*网课模式*/
|
||||
private static final String ONLINE_COURSE_MODE = "71";
|
||||
|
||||
public void setPushContent(String title, String extras) {
|
||||
switch (title) {
|
||||
case JIGUANG_ALARM_CLOCK:
|
||||
ToastUtil.betaShow("收到推送消息: 设置闹钟");
|
||||
NetInterfaceManager.getInstance().getAlarmClock();
|
||||
Intent intent = new Intent(SET_ALARMCLOCK);
|
||||
mContext.sendBroadcast(intent);
|
||||
break;
|
||||
case ONLINE_COURSE_MODE:
|
||||
ToastUtil.betaShow("收到推送消息: 网课模式");
|
||||
NetInterfaceManager.getInstance().getCloudLessonSettings();
|
||||
break;
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user