Test DPC is an app designed to help EMMs, ISVs and OEMs to test their applications and platforms in a Managed Profile effectively. It serves as both a sample Device Policy Client and a testing application to flex the APIs available for Android for Work. It supports devices running Android 5.0 Lollipop or later.
- Android SDK v23
- Android Build Tools v23.0.1
- Android Support Repository
This sample uses the Gradle build system. To build this project, use the "gradlew assemble” command or use "Import Project" in Android Studio.
- No support for mime type in cross-profile intent filter creation.
- No support for PackageInstaller APIs.
- Values are not saving correctly under Manage app permissions.
If you've found an error in this sample, please file an issue: https://github.com/googlesamples/android-testdpc/issues
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.
Licensed under the Apache 2.0 license. See the LICENSE file for details.
Please read and follow the steps in the CONTRIB file.