Loading services/core/java/com/android/server/tv/TvInputManagerService.java +6 −7 Original line number Diff line number Diff line Loading @@ -1019,13 +1019,12 @@ public final class TvInputManagerService extends SystemService { } private void ensureParentalControlsPermission() { // STOPSHIP: Uncomment when b/16984416 is resolved. //if (mContext.checkCallingPermission( // android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) // != PackageManager.PERMISSION_GRANTED) { // throw new SecurityException( // "The caller does not have parental controls permission"); //} if (mContext.checkCallingPermission( android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) != PackageManager.PERMISSION_GRANTED) { throw new SecurityException( "The caller does not have parental controls permission"); } } @Override Loading Loading
services/core/java/com/android/server/tv/TvInputManagerService.java +6 −7 Original line number Diff line number Diff line Loading @@ -1019,13 +1019,12 @@ public final class TvInputManagerService extends SystemService { } private void ensureParentalControlsPermission() { // STOPSHIP: Uncomment when b/16984416 is resolved. //if (mContext.checkCallingPermission( // android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) // != PackageManager.PERMISSION_GRANTED) { // throw new SecurityException( // "The caller does not have parental controls permission"); //} if (mContext.checkCallingPermission( android.Manifest.permission.MODIFY_PARENTAL_CONTROLS) != PackageManager.PERMISSION_GRANTED) { throw new SecurityException( "The caller does not have parental controls permission"); } } @Override Loading