Restrict without using privacy provider

(Android, PackageManagerService, Thread)