mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 15:20:34 +00:00
add2in1
Signed-off-by: duansizhao <duansizhao@huawei.com> Change-Id: I21b58b07ea4de2ea9478e43647e18df3e64040b3
This commit is contained in:
parent
2eb9cc26e3
commit
ff64a11f45
@ -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();
|
||||
|
@ -17,7 +17,8 @@
|
||||
"mainAbility": ".MainAbility",
|
||||
"deviceType": [
|
||||
"tablet",
|
||||
"default"
|
||||
"default",
|
||||
"2in1"
|
||||
],
|
||||
"abilities": [
|
||||
{
|
||||
|
@ -20,7 +20,8 @@
|
||||
"deviceType": [
|
||||
"tablet",
|
||||
"default",
|
||||
"phone"
|
||||
"phone",
|
||||
"2in1"
|
||||
],
|
||||
"distro": {
|
||||
"deliveryWithInstall": true,
|
||||
|
@ -20,7 +20,8 @@
|
||||
"deviceType": [
|
||||
"tablet",
|
||||
"default",
|
||||
"phone"
|
||||
"phone",
|
||||
"2in1"
|
||||
],
|
||||
"distro": {
|
||||
"deliveryWithInstall": true,
|
||||
|
@ -21,7 +21,8 @@
|
||||
"tablet",
|
||||
"default",
|
||||
"tv",
|
||||
"car"
|
||||
"car",
|
||||
"2in1"
|
||||
],
|
||||
"distro": {
|
||||
"deliveryWithInstall": true,
|
||||
|
@ -21,7 +21,8 @@
|
||||
"tablet",
|
||||
"default",
|
||||
"tv",
|
||||
"car"
|
||||
"car",
|
||||
"2in1"
|
||||
],
|
||||
"distro": {
|
||||
"deliveryWithInstall": true,
|
||||
|
@ -21,7 +21,8 @@
|
||||
"tablet",
|
||||
"default",
|
||||
"tv",
|
||||
"car"
|
||||
"car",
|
||||
"2in1"
|
||||
],
|
||||
"distro": {
|
||||
"deliveryWithInstall": true,
|
||||
|
Loading…
Reference in New Issue
Block a user