Move DeviceAdmin APIs to android.app.admin.

This commit is contained in:
Dianne Hackborn 2010-02-26 17:26:45 -08:00
parent 87c305d98c
commit 6d0016229a
3 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,8 @@
limitations under the License.
-->
<device-admin xmlns:android="http://schemas.android.com/apk/res/android">
<device-admin xmlns:android="http://schemas.android.com/apk/res/android"
android:visible="false">
<uses-policies>
<limit-password />
<watch-login />

View File

@ -22,11 +22,11 @@ import com.android.email.provider.EmailContent.Account;
import com.android.email.provider.EmailContent.AccountColumns;
import com.android.email.service.MailService;
import android.app.DeviceAdminReceiver;
import android.app.DevicePolicyManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.admin.DeviceAdminReceiver;
import android.app.admin.DevicePolicyManager;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.ContentUris;

View File

@ -21,7 +21,7 @@ import com.android.email.SecurityPolicy;
import com.android.email.provider.EmailContent.Account;
import android.app.Activity;
import android.app.DevicePolicyManager;
import android.app.admin.DevicePolicyManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;