version:1.3.9

fix:
update:优化退出界面
This commit is contained in:
2023-05-24 10:15:42 +08:00
parent 3e44bb0c63
commit c4f694f4de
25 changed files with 1080 additions and 264 deletions

View File

@@ -79,14 +79,14 @@ public class MainService extends BaseService implements MainSContact.MainSView,
}
private void startJxwLauncher() {
ComponentName cn = new ComponentName(JxwPackageConfig.JXW_LAUNCHER_PACKAGE_NAME, JxwPackageConfig.JXW_LAUNCHER_CLASS_NAME);
Intent intent = new Intent();
intent.setComponent(cn);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForegroundService(intent);
} else {
startService(intent);
}
// ComponentName cn = new ComponentName(JxwPackageConfig.JXW_LAUNCHER_PACKAGE_NAME, JxwPackageConfig.JXW_LAUNCHER_CLASS_NAME);
// Intent intent = new Intent();
// intent.setComponent(cn);
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
// startForegroundService(intent);
// } else {
// startService(intent);
// }
}
private void unregisterReceiver() {