I have a device admin app that uses the following device-admin.xml
<device-admin xmlns:android="http://schemas.android.com/apk/res/android">
<uses-policies>
<watch-login />
<reset-password />
<force-lock />
<wipe-data />
</uses-policies>
</device-admin>
Some users has already activated the device admin permissions. Now, in an update of the app, I want to add a new uses-policy
<limit-password />
I am wondering how to detect that new use policies have been added programmatically so that we push the reactivation of the device admin permissions?