How to toggle rhi thread on Android at runtime?

I want to enable/disable rhi thread at runtime, what should I do?

Should I modify the engine code please?

maybe need modify engine code, if call r.RHIThread.Enable console command , will be carshed :assertion failed: isinrenderingthread()