version:1.6.9
fix: update:修复退出桌面闪退
This commit is contained in:
@@ -610,7 +610,7 @@ public class ApkUtils {
|
||||
|
||||
public static void gotoLauncher(Context context) {
|
||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.Q) {
|
||||
if ("U807".equals(BuildConfig.platform)) {
|
||||
if ("U807".equals(BuildConfig.platform) && ApkUtils.isAvailable(context, "com.uiuipad.os")) {
|
||||
Intent homeIntent = new Intent(Intent.ACTION_MAIN);
|
||||
homeIntent.setPackage("com.uiuipad.os");
|
||||
homeIntent.addCategory(Intent.CATEGORY_HOME);
|
||||
|
||||
Reference in New Issue
Block a user