diff --git a/services/appmgr/src/app_mgr_service_inner.cpp b/services/appmgr/src/app_mgr_service_inner.cpp index d147c81a90..5f30fcf6a5 100644 --- a/services/appmgr/src/app_mgr_service_inner.cpp +++ b/services/appmgr/src/app_mgr_service_inner.cpp @@ -3292,7 +3292,8 @@ int AppMgrServiceInner::StartRenderProcess(const pid_t hostPid, const std::strin } auto renderRecordMap = appRecord->GetRenderRecordMap(); - if (!renderRecordMap.empty() && deviceType_.compare("tablet") != 0 && deviceType_.compare("pc") != 0) { + if (!renderRecordMap.empty() && deviceType_.compare("tablet") != 0 && deviceType_.compare("pc") != 0 && + deviceType_.compare("2in1") != 0) { for (auto iter : renderRecordMap) { if (iter.second != nullptr) { renderPid = iter.second->GetPid(); diff --git a/test/resource/benchmark/form_test_bundle/src/main/config.json b/test/resource/benchmark/form_test_bundle/src/main/config.json index 7085e17a08..6a42526927 100644 --- a/test/resource/benchmark/form_test_bundle/src/main/config.json +++ b/test/resource/benchmark/form_test_bundle/src/main/config.json @@ -17,7 +17,8 @@ "mainAbility": ".MainAbility", "deviceType": [ "tablet", - "default" + "default", + "2in1" ], "abilities": [ { diff --git a/tools/test/resource/aa/dataAbilityBundleForDump/src/main/config.json b/tools/test/resource/aa/dataAbilityBundleForDump/src/main/config.json index e89275ca5e..42b95953af 100644 --- a/tools/test/resource/aa/dataAbilityBundleForDump/src/main/config.json +++ b/tools/test/resource/aa/dataAbilityBundleForDump/src/main/config.json @@ -20,7 +20,8 @@ "deviceType": [ "tablet", "default", - "phone" + "phone", + "2in1" ], "distro": { "deliveryWithInstall": true, diff --git a/tools/test/resource/aa/pageAbilityBundleForDump/src/main/config.json b/tools/test/resource/aa/pageAbilityBundleForDump/src/main/config.json index f09f7ca93c..21253ca752 100644 --- a/tools/test/resource/aa/pageAbilityBundleForDump/src/main/config.json +++ b/tools/test/resource/aa/pageAbilityBundleForDump/src/main/config.json @@ -20,7 +20,8 @@ "deviceType": [ "tablet", "default", - "phone" + "phone", + "2in1" ], "distro": { "deliveryWithInstall": true, diff --git a/tools/test/resource/aa/pageAbilityBundleForStart/src/main/config.json b/tools/test/resource/aa/pageAbilityBundleForStart/src/main/config.json index 59eb67c740..378036a163 100644 --- a/tools/test/resource/aa/pageAbilityBundleForStart/src/main/config.json +++ b/tools/test/resource/aa/pageAbilityBundleForStart/src/main/config.json @@ -21,7 +21,8 @@ "tablet", "default", "tv", - "car" + "car", + "2in1" ], "distro": { "deliveryWithInstall": true, diff --git a/tools/test/resource/aa/serviceAbilityBundleForStart/src/main/config.json b/tools/test/resource/aa/serviceAbilityBundleForStart/src/main/config.json index 6a639001d6..ffe2ca99a0 100644 --- a/tools/test/resource/aa/serviceAbilityBundleForStart/src/main/config.json +++ b/tools/test/resource/aa/serviceAbilityBundleForStart/src/main/config.json @@ -21,7 +21,8 @@ "tablet", "default", "tv", - "car" + "car", + "2in1" ], "distro": { "deliveryWithInstall": true, diff --git a/tools/test/resource/aa/serviceAbilityBundleForStop/src/main/config.json b/tools/test/resource/aa/serviceAbilityBundleForStop/src/main/config.json index 8f37300339..a48b731f21 100644 --- a/tools/test/resource/aa/serviceAbilityBundleForStop/src/main/config.json +++ b/tools/test/resource/aa/serviceAbilityBundleForStop/src/main/config.json @@ -21,7 +21,8 @@ "tablet", "default", "tv", - "car" + "car", + "2in1" ], "distro": { "deliveryWithInstall": true,