bugfixes:增加设置壁纸
This commit is contained in:
2024-12-10 17:19:43 +08:00
parent c360344acc
commit 816753a500
22 changed files with 431 additions and 106 deletions

View File

@@ -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");