Merge "TIF: Temporarily disable permission check for parental controls" into lmp-dev
This commit is contained in:
@@ -996,12 +996,13 @@ public final class TvInputManagerService extends SystemService {
|
||||
}
|
||||
|
||||
private void ensureParentalControlsPermission() {
|
||||
if (mContext.checkCallingPermission(
|
||||
android.Manifest.permission.MODIFY_PARENTAL_CONTROLS)
|
||||
!= PackageManager.PERMISSION_GRANTED) {
|
||||
throw new SecurityException(
|
||||
"The caller does not have parental controls permission");
|
||||
}
|
||||
// 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");
|
||||
//}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user