Signed-off-by: duansizhao <duansizhao@huawei.com>
Change-Id: I21b58b07ea4de2ea9478e43647e18df3e64040b3
This commit is contained in:
duansizhao 2023-07-07 08:28:41 +00:00
parent 2eb9cc26e3
commit ff64a11f45
7 changed files with 14 additions and 7 deletions

View File

@ -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();

View File

@ -17,7 +17,8 @@
"mainAbility": ".MainAbility",
"deviceType": [
"tablet",
"default"
"default",
"2in1"
],
"abilities": [
{

View File

@ -20,7 +20,8 @@
"deviceType": [
"tablet",
"default",
"phone"
"phone",
"2in1"
],
"distro": {
"deliveryWithInstall": true,

View File

@ -20,7 +20,8 @@
"deviceType": [
"tablet",
"default",
"phone"
"phone",
"2in1"
],
"distro": {
"deliveryWithInstall": true,

View File

@ -21,7 +21,8 @@
"tablet",
"default",
"tv",
"car"
"car",
"2in1"
],
"distro": {
"deliveryWithInstall": true,

View File

@ -21,7 +21,8 @@
"tablet",
"default",
"tv",
"car"
"car",
"2in1"
],
"distro": {
"deliveryWithInstall": true,

View File

@ -21,7 +21,8 @@
"tablet",
"default",
"tv",
"car"
"car",
"2in1"
],
"distro": {
"deliveryWithInstall": true,