If a device comes with Android Pie out-of-the-box then camera2api will be enabled by default.