Summary
During QR-code (6-tap) provisioning of Test DPC as device owner on a factory-reset device, Google Play Protect blocks the app with:
App blocked to protect your device — Test DPC
This app can request access to sensitive data. This can increase the risk of identity theft or financial fraud.
Only an "OK" button is shown, so provisioning cannot continue. This started on 2026-09-19; the same flow worked before that date with no changes on our side.
Steps to reproduce
- Factory-reset an Android device.
- On the Welcome screen, tap 6 times to open the QR provisioning scanner.
- Scan a provisioning QR whose payload uses:
PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME: com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiver
PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION: an HTTPS URL serving the release APK
PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM: the APK signing certificate checksum
- The device shows "Getting ready for work", then the Play Protect "App blocked" dialog.
APK details
- Package:
com.afwsamples.testdpc
- Version: 9.0.12 (versionCode 9012), targetSdk 34
- Signer:
CN=testdpc, O=Google Inc.
- Signing certificate SHA-256:
8090f6630b4e8962479123249087cb4658feaae36a1b57dbeafd74d109b333dc
Expected
Provisioning completes and Test DPC becomes device owner.
Notes
- The APK is the Google-signed release build, unmodified.
- Other developers report Play Protect now enforcing an approved-DPC allowlist during provisioning (https://support.google.com/work/android/answer/16694822) and blocking DPCs not on it. Is Test DPC on that allowlist, and is there a recommended way to provision it now?
Summary
During QR-code (6-tap) provisioning of Test DPC as device owner on a factory-reset device, Google Play Protect blocks the app with:
Only an "OK" button is shown, so provisioning cannot continue. This started on 2026-09-19; the same flow worked before that date with no changes on our side.
Steps to reproduce
PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME:com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiverPROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION: an HTTPS URL serving the release APKPROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM: the APK signing certificate checksumAPK details
com.afwsamples.testdpcCN=testdpc, O=Google Inc.8090f6630b4e8962479123249087cb4658feaae36a1b57dbeafd74d109b333dcExpected
Provisioning completes and Test DPC becomes device owner.
Notes