List of usage examples for android.os UserManager hasUserRestriction
@UnsupportedAppUsage public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle)
From source file:com.android.server.MountService.java
private boolean hasUserRestriction(String restriction) { UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); return um.hasUserRestriction(restriction, Binder.getCallingUserHandle()); }