No only the device administrator itself is sent these.  Of course if you are
writing the administrator, you can send your own broadcast as a result.  If
you are not writing the admin, you should be getting to find out what is
going on with it.

On Fri, Apr 29, 2011 at 5:13 PM, Rick Alther <[email protected]> wrote:

> I would like to be notified when a device administrator is enabled/disabled
> on the device.  I've tried listening for ACTION_DEVICE_ADMIN_DISABLED and
> ACTION_DEVICE_ADMIN_ENABLED, but I'm never receiving a broadcast.  The docs
> state they are sent the device administrator itself, so perhaps they are not
> broadcast for everyone to hear.
>
> Is there a way of being notified when a device admin has been
> enabled/disabled?
>
> Thanks,
> - Rick
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to