Move DeviceAdmin APIs to android.app.admin.
This commit is contained in:
parent
87c305d98c
commit
6d0016229a
@ -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 />
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user