Device admin deprecation. Starting with Android 9 (API level 28), some admin policies will be marked as deprecated when invoked by a device admin. We recommend you start to prepare now for this change. To learn more and see the migration options, read Device admin deprecation.