5.0 lollipop – how do aot and jit work in android n and later together?

the android os used interp years ago, then added jit; However, since android 5.0, they replaced jit with aot (apt-of-time) compilation, which significantly increased the installation time for apps, so I did not follow the development. then in Android 7.0 it seemed that Jit had returned; but I can not understand how Jit and Aot could work together; Does that mean they have finally left and switched back to Jit? (I've read some articles, but since I split up for a while, I'm not sure if I still understand everything correctly.)