Dear NXP,
I am working on Android 9. I needs to add ro.kernel.qemu support in Android 9. By default ro.kernel.qemu is false.
std::unique_ptr<CommBase> CommFactory::create() {
bool isEmulator = android::base::GetBoolProperty("ro.kernel.qemu", false);if (isEmulator) {
return std::make_unique<PipeComm>();
} else {
return std::make_unique<SocketComm>();
}
}
Currently, emulated value from BSP through Socket Communication (SocketComm).
Is there any possible to add emulator (ro.kernel.qemu) in source ?
Thanks & Regards,
VinothS,
Solved! Go to Solution.
Unfortunately, It is not supported by our BSP.
However, you could add an instance in the init.rc that enables qemu support.
setprop ro.kernel.qemu 1
However, we cannot guarantee that this will work.
Best regards,
Diego.
Unfortunately, It is not supported by our BSP.
However, you could add an instance in the init.rc that enables qemu support.
setprop ro.kernel.qemu 1
However, we cannot guarantee that this will work.
Best regards,
Diego.
Thank you Diego,
Thanks,
VinothS,