!7548 fix switch case 缺少break

Merge pull request !7548 from 张欣宇/fixhost
This commit is contained in:
openharmony_ci 2024-11-22 12:25:17 +00:00 committed by Gitee
commit 742674145f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -611,6 +611,7 @@ int BundleMgrHost::OnRemoteRequest(uint32_t code, MessageParcel &data, MessagePa
break; break;
case static_cast<uint32_t>(BundleMgrInterfaceCode::GET_COMPATIBLED_DEVICE_TYPE): case static_cast<uint32_t>(BundleMgrInterfaceCode::GET_COMPATIBLED_DEVICE_TYPE):
errCode = HandleGetCompatibleDeviceType(data, reply); errCode = HandleGetCompatibleDeviceType(data, reply);
break;
case static_cast<uint32_t>(BundleMgrInterfaceCode::GET_BUNDLE_NAME_BY_APP_ID_OR_APP_IDENTIFIER): case static_cast<uint32_t>(BundleMgrInterfaceCode::GET_BUNDLE_NAME_BY_APP_ID_OR_APP_IDENTIFIER):
errCode = HandleGetBundleNameByAppId(data, reply); errCode = HandleGetBundleNameByAppId(data, reply);
break; break;