We are buliding a app similar to app locker we need to ask password whenever some one tries to disable the device admin.
We are able to do that with versions prior to Lollipop. Since lollipop stopped giving the activity name for the currently running app we are in a mix of how to do that. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/c1287caa-ac7b-4d46-84eb-2c0bbf395a78%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

