Remove mode switching of detector

We will probably go fully NDK now

Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>