version:2.7

fix:更新桌面唤醒
add:
This commit is contained in:
2022-02-25 14:13:57 +08:00
parent a51b5ff4df
commit 0f081cd8d5
4 changed files with 9 additions and 9 deletions

View File

@@ -192,19 +192,18 @@ public class JGYUtils {
public static final String CLASS_DEVICEINFO = "com.aoleyun.sn.receiver.BootReceiver";
public static final String CLASS_APPSTORE = "com.aoleyun.appstore.receiver.BootReceiver";
public static final String ACTION_DEVICEINFO = "com.aoleyun.sn.intent.action.BOOT_COMPLETED";
public static final String ACTION_APPSTORE = "com.aoleyun.appstore.intent.action.BOOT_COMPLETED";
public static final String BOOT_COMPLETED = "aoleyun.intent.action.BOOT_COMPLETED";
public void wakeUpDeviceInfo() {
//启动设备信息
Intent bootIntent = new Intent(ACTION_DEVICEINFO);
Intent bootIntent = new Intent(BOOT_COMPLETED);
bootIntent.setComponent(new ComponentName(PACKAGE_DEVICEINFO, CLASS_DEVICEINFO));
mContext.sendBroadcast(bootIntent);
}
public void wakeUpAppstore() {
//启动应用市场
Intent bootIntent = new Intent(ACTION_APPSTORE);
Intent bootIntent = new Intent(BOOT_COMPLETED);
bootIntent.setComponent(new ComponentName(PACKAGE_APPSTORE, CLASS_APPSTORE));
mContext.sendBroadcast(bootIntent);
}