Motorola has just released the kernel source code for Android 9 Pie for the Moto G6 Play. This release should make it much easier for modders and developers to create Android Pie-based custom ROMs for the handset, extending its life a bit. Motorola is one of the few companies left that still routinely releases source code for its handsets.
https://www.notebookcheck.net/Moto-G6-Play-kernal-source-code-for-Android-Pie-is-now-freely-available-on-GitHub.419714.0.html