Backed out changeset bbe415dff600 (bug 1230937) for testRestrictions failures in android rc3

This commit is contained in:
Wes Kocher 2015-12-15 14:11:22 -08:00
parent 038452c032
commit 0807029837

View File

@ -72,11 +72,6 @@ public class RestrictedProfileConfiguration implements RestrictionConfiguration
return !cachedUserRestrictions.getBoolean(restrictable.name);
}
if (!cachedAppRestrictions.containsKey(restrictable.name) && !configuration.containsKey(restrictable)) {
// Always allow features that are not in the configuration
return true;
}
return cachedAppRestrictions.getBoolean(restrictable.name, configuration.get(restrictable));
}