Downgrade fatal log on host to error
Fuzzer is breaking due to fatal log for host. Downgrade it to error. Test: m android.hardware.neuralnetworks-service.example_fuzzer && out/host/linux-x86/fuzz/x86_64/android.hardware.neuralnetworks-service.example_fuzzer/android.hardware.neuralnetworks-service.example_fuzzer Bug: 312902296 Change-Id: I7013ed14f6644d0459929380202de45f92575cf9
This commit is contained in:
parent
d9fab61b7d
commit
a4a73461c2
1 changed files with 2 additions and 2 deletions
|
@ -421,7 +421,7 @@ GeneralResult<SharedMemory> unvalidatedConvert(const aidl_hal::Memory& memory) {
|
|||
|
||||
return createSharedMemoryFromAHWB(ahwb, /*takeOwnership=*/true);
|
||||
#else // __ANDROID__
|
||||
LOG(FATAL) << "GeneralResult<SharedMemory> unvalidatedConvert(const aidl_hal::Memory& "
|
||||
LOG(ERROR) << "GeneralResult<SharedMemory> unvalidatedConvert(const aidl_hal::Memory& "
|
||||
"memory): Not Available on Host Build";
|
||||
return NN_ERROR() << "createFromHandle failed";
|
||||
#endif // __ANDROID__
|
||||
|
@ -732,7 +732,7 @@ nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::HardwareBuffer& m
|
|||
};
|
||||
return Memory::make<Memory::Tag::hardwareBuffer>(std::move(hardwareBuffer));
|
||||
#else // __ANDROID__
|
||||
LOG(FATAL) << "nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::HardwareBuffer& "
|
||||
LOG(ERROR) << "nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::HardwareBuffer& "
|
||||
"memory): Not Available on Host Build";
|
||||
(void)memory;
|
||||
return (NN_ERROR() << "unvalidatedConvert failed").operator nn::GeneralResult<Memory>();
|
||||
|
|
Loading…
Reference in a new issue