Skip to content

Instantly share code, notes, and snippets.

@manijshrestha
Created October 30, 2014 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manijshrestha/24f85b8177837e286845 to your computer and use it in GitHub Desktop.
Save manijshrestha/24f85b8177837e286845 to your computer and use it in GitHub Desktop.
package com.manijshrestha.lollipopkiosk;
import android.app.admin.DeviceAdminReceiver;
import android.content.ComponentName;
import android.content.Context;
public class BasicDeviceAdminReceiver extends DeviceAdminReceiver {
public static ComponentName getComponentName(Context context) {
return new ComponentName(context.getApplicationContext(), BasicDeviceAdminReceiver.class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment