googlesamples / googlesamples/android-testdpc

DeviceAdminReceiver.onProfileProvisioningComplete() not getting called on when managed profile is created

Open
#196 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1k
Forks
422
PR merge metrics
No merged PRs in 30d

Description

This issue is not related to `android-testdpc` itself but related to `DeviceAdminReceiver` class.

I have done exactly the same things in my app as in testdpc app to create a work profile but as the title says `DeviceAdminReceiver.onProfileProvisioningComplete()` is never getting called.

This issue is even acknowledged in `android-testdpc` [source code](https://github.com/googlesamples/android-testdpc/blob/master/src/main/java/com/afwsamples/testdpc/DeviceAdminReceiver.java#L132) but given some issue link which I don't know how to open because it is not a valid link. I also tried opening [https://issuetracker.google.com/issues/177617306](https://issuetracker.google.com/issues/177617306) but for some reason I don't have access to view that issue.

I want to understand if this is a know issue, what's the workaround or some alternative?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.