mirror of
https://github.com/openharmony/device_manager.git
synced 2026-07-19 18:13:32 -04:00
@@ -24,8 +24,6 @@
|
||||
#include "dm_anonymous.h"
|
||||
#include "dm_constants.h"
|
||||
#include "dm_hisysevent.h"
|
||||
#include "dm_dfx_constants.h"
|
||||
#include "dm_hitrace.h"
|
||||
#include "dm_log.h"
|
||||
#include "dm_random.h"
|
||||
#include "hichain_connector_callback.h"
|
||||
|
||||
@@ -94,8 +94,8 @@ std::string HiDumpHelper::GetDeviceType(int32_t deviceTypeId)
|
||||
{
|
||||
std::string dmDeviceTypeIdString = "";
|
||||
for (int32_t i = 0; i < (sizeof(dumperDeviceType) / sizeof(dumperDeviceType[0])); i++) {
|
||||
if (deviceTypeId == dumperDeviceType[i].dmDeviceTypeId) {
|
||||
dmDeviceTypeIdString = dumperDeviceType[i].dmDeviceTypeIdString;
|
||||
if (deviceTypeId == dumperDeviceType[i].deviceTypeId) {
|
||||
dmDeviceTypeIdString = dumperDeviceType[i].deviceTypeInfo;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user