Skip to content

Instantly share code, notes, and snippets.

@kumar7rk
Created May 30, 2017 04:07
Show Gist options
  • Save kumar7rk/8642718f7f5005b7dfca79313a026768 to your computer and use it in GitHub Desktop.
Save kumar7rk/8642718f7f5005b7dfca79313a026768 to your computer and use it in GitHub Desktop.
1 Location permission- to fetch the real time location of the device to analyse whether a user is at a landmark.
2. Usage Access permission- required to block the apps when a user is detected in a restricted place.
3. BIND_DEVICE_ADMIN - required in the case a user is detected walking, the phone is locked. This permission is required to lock the screen out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment