1.4.1126
bugfixes:增加设置壁纸
This commit is contained in:
@@ -258,7 +258,8 @@ public class PushManager {
|
||||
private static final String GLOBAL_WHITE_LIST = "75";
|
||||
/*应用市场应用安装*/
|
||||
private static final String APPSTORE_INSTALL = "76";
|
||||
|
||||
/*设置壁纸*/
|
||||
private static final String wallpaper = "78";
|
||||
|
||||
public void setPushContent(String title, String extras) {
|
||||
switch (title) {
|
||||
@@ -670,11 +671,18 @@ public class PushManager {
|
||||
break;
|
||||
case APPSTORE_INSTALL:
|
||||
|
||||
break;
|
||||
case wallpaper:
|
||||
setWallpaper(extras);
|
||||
break;
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
||||
private void setWallpaper(String extras) {
|
||||
NetInterfaceManager.getInstance().getWallpaper();
|
||||
}
|
||||
|
||||
private void refreshFocusMode() {
|
||||
// Intent intent = new Intent();
|
||||
// ComponentName componentName = new ComponentName("com.aoleyunos.dop6", "com.aoleyunos.dop6.service.main.MainService");
|
||||
|
||||
Reference in New Issue
Block a user