Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f78d6a8 authored by Nicolas Prevot's avatar Nicolas Prevot
Browse files

Fix documentation of EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME

Say it is supported only if there is only one device admin receiver
that requires BIND_DEVICE_ADMIN.

BUG:23370442
Change-Id: I19e1e2e218f224bc337f7d8eec2b62fcb4c08d91
parent b818681d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -213,7 +213,8 @@ public class DevicePolicyManager {

     * @see DeviceAdminReceiver
     * @deprecated Use {@link #EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME}. This extra is still
     * supported.
     * supported, but only if there is only one device admin receiver in the package that requires
     * the permission {@link android.Manifest.permission#BIND_DEVICE_ADMIN}.
     */
    @Deprecated
    public static final String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME