[Feature] FIX: Don't switch to hostVT during testing
[Cause] N/A
[Solution] N/A
[Verification] Build, run tests.
Change-Id: Ic02c2387b15a5a162e88806c2dcc5ec2c82e67b0
// assume mutex is locked
if (iter == mZones.end()) {
if (!mActiveZoneId.empty()) {
- LOGI("Focus to: host");
- utils::activateVT(mConfig.hostVT);
+ if (mConfig.hostVT > 0) {
+ LOGI("Focus to: host");
+ utils::activateVT(mConfig.hostVT);
+ }
mActiveZoneId.clear();
}
return;
"zoneTemplateDir" : "@VSM_TEST_CONFIG_INSTALL_DIR@/templates/",
"runMountPointPrefix" : "",
"defaultId" : "",
- "hostVT" : 2,
+ "hostVT" : -1,
"availableVTs" : [],
"inputConfig" : {"enabled" : false,
"device" : "gpio-keys.4",