Camera API changes

I’ve tested the SurfaceView component’s “take picture” method on both Android 4.4 and Android 9, API level being 19 in both cases. On Android 4.4, it would open the Camera app to take a picture, while in Android 9 it took it directly. With which Android version was this behaviour changed? Might be worth stating in the docs.