If CheckJNI is enabled don't allow app workarounds

Change-Id: I2554bbb18439337d2ddbc066799c2450769c35cb