version:1.3.9
fix: update:优化退出界面
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user