Hello YD4851-4478,
Welcome to our Microsoft Q&A platform!
Starting with Android 9 (API level 28), some admin policies will be marked as deprecated when invoked by a device admin. Existing functionality continues to work for applications targeting the API level 28, though its use is discouraged.
For more details, you could refer to this doc: https://developers.google.com/android/work/device-admin-deprecation#timelines
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.