diff --git a/docs/html/training/enterprise/work-policy-ctrl.jd b/docs/html/training/enterprise/work-policy-ctrl.jd index 5854e65020258..8225ea32a470c 100644 --- a/docs/html/training/enterprise/work-policy-ctrl.jd +++ b/docs/html/training/enterprise/work-policy-ctrl.jd @@ -1,5 +1,6 @@ -page.title=Building a Work Policy Controller -page.metaDescription=Learn how to develop a Work Policy Controller to create and administer a managed profile on an employee's device. +page.title=Building a Device Policy Controller +page.metaDescription=Learn how to develop a device policy controller to create and administer a managed profile on an employee's device. +page.tags="work policy controller,WPC,device policy controller,DPC" @jd:body
@@ -54,8 +55,9 @@ page.metaDescription=Learn how to develop a Work Policy Controller to create and

- To handle these tasks, an enterprise develops and deploys a Work Policy - Controller app. This app is installed on each employee's device. The + To handle these tasks, an enterprise develops and deploys + a device policy controller app (previously known as a + work policy controller). This app is installed on each employee's device. The controller app installed on each employee's device and creates a work user profile, which accesses enterprise apps and data separately from the user's personal account. The controller app also acts as the @@ -66,7 +68,7 @@ page.metaDescription=Learn how to develop a Work Policy Controller to create and

- This lesson describes how to develop a Work Policy Controller app for devices + This lesson describes how to develop a device policy controller app for devices in an Android for Work deployment. The lesson describes how to create a work user profile, how to set device policies, and how to apply restrictions to other apps running on the managed profile. @@ -85,13 +87,13 @@ page.metaDescription=Learn how to develop a Work Policy Controller to create and policies to control the behavior of employees' devices and apps. The enterprise administrator sets these policies with software provided by their Enterprise Mobility Management (EMM) provider. The EMM software communicates - with a Work Policy Controller on each device. The Work Policy Controller, in + with a device policy controller on each device. The device policy controller, in turn, manages the settings and behavior of the work user profile on each individual’s device.

- Note: A Work Policy Controller is built on the existing + Note: A device policy controller is built on the existing model used for device administration applications, as described in Device Administration. In particular, your app needs to create a subclass of {@link @@ -177,7 +179,7 @@ if (provisioningIntent.resolveActivity(provisioningActivity.getPackageManager())

  • Removes non-required applications from the managed profile.
  • -
  • Copies the Work Policy Controller application into the managed profile and +
  • Copies the device policy controller app into the managed profile and sets it as the profile owner.
  • @@ -209,9 +211,8 @@ public void onActivityResult(int requestCode, int resultCode, Intent data) {

    After Creating the Managed Profile

    -

    When the profile has been provisioned, the system calls the Work Policy -Controller app's {@link -android.app.admin.DeviceAdminReceiver#onProfileProvisioningComplete +

    When the profile has been provisioned, the system calls the device policy +controller app's {@link android.app.admin.DeviceAdminReceiver#onProfileProvisioningComplete DeviceAdminReceiver.onProfileProvisioningComplete()} method. Override this callback method to finish enabling the managed profile.

    @@ -257,7 +258,7 @@ manager.setProfileEnabled(componentName);

    Set Up Device Policies

    - The Work Policy Controller app is responsible for applying the enterprise's + The device policy controller app is responsible for applying the enterprise's device policies. For example, a particular enterprise might require that all devices become locked after a certain number of failed attempts to enter the device password. The controller app queries the EMM to find out what @@ -273,13 +274,12 @@ Administration guide.

    Apply App Restrictions

    -

    Enterprise environments may require that approved apps implement apps -implement security or feature restrictions. App developers must implement these -restrictions and declare them for use by enterprise administrators, as described -in Implementing -App Restrictions. The Work Policy Controller receives restriction changes -from the enterprise administrator, and forwards those restriction changes to the -apps.

    +

    Enterprise environments may require that approved apps implement security +or feature restrictions. App developers must implement these restrictions +and declare them for use by enterprise administrators, as described in +Implementing +App Restrictions. The device policy controller receives restriction changes +from the enterprise administrator, and forwards those restriction changes to the apps.

    For example, a particular news app might have a restriction setting that controls whether the app is allowed to download videos over a cellular @@ -287,9 +287,9 @@ network. When the EMM wants to disable cellular downloads, it sends a notification to the controller app. The controller app, in turn, notifies the news app that the restriction setting has changed.

    -

    Note: This document covers how the Work Policy -Controller app changes the restriction settings for the other apps on the -managed profile. Details on how the Work Policy Controller app communicates with +

    Note: This document covers how the device policy +controller app changes the restriction settings for the other apps on the +managed profile. Details on how the device policy controller app communicates with the EMM are out of scope for this document.

    To change an app's restrictions, call the {@link @@ -308,7 +308,7 @@ restriction that can be configured, with the key a cellular network; it must use a Wi-Fi network instead.

    - If your Work Policy Controller app needs to turn off cellular downloads, it + If your device policy controller app needs to turn off cellular downloads, it would first fetch the device policy service object, as described above. It then assembles a restrictions bundle and passes this bundle to {@link android.app.admin.DevicePolicyManager#setApplicationRestrictions diff --git a/docs/html/training/training_toc.cs b/docs/html/training/training_toc.cs index b16b569fbf23f..38f069f55d6b0 100644 --- a/docs/html/training/training_toc.cs +++ b/docs/html/training/training_toc.cs @@ -1207,7 +1207,7 @@

  • - Building a Work Policy Controller + Building a Device Policy Controller