diff options
Diffstat (limited to 'core/java/android/os/UserManager.java')
| -rw-r--r-- | core/java/android/os/UserManager.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index 1248b548e931..185620066454 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -2731,25 +2731,6 @@ public class UserManager { } /** - * Checks whether changing a setting to a value is prohibited by the corresponding user - * restriction. - * - * <p>See also {@link com.android.server.pm.UserRestrictionsUtils#applyUserRestriction( - * Context, int, String, boolean)}, which should be in sync with this method. - * - * @return true if the change is prohibited, false if the change is allowed. - * - * @hide - */ - public boolean isSettingRestrictedForUser(String setting, int userId, String value) { - try { - return mService.isSettingRestrictedForUser(setting, userId, value); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** * @hide * User that enforces a restriction. * |
