Merge "Use Slog.e() instead of Slog.wtf() for unknown restrictions" into nyc-dev

This commit is contained in:
Makoto Onuki
2016-02-10 21:59:14 +00:00
committed by Android (Google) Code Review

View File

@@ -155,7 +155,7 @@ public class UserRestrictionsUtils {
*/
public static boolean isValidRestriction(@NonNull String restriction) {
if (!USER_RESTRICTIONS.contains(restriction)) {
Slog.wtf(TAG, "Unknown restriction: " + restriction);
Slog.e(TAG, "Unknown restriction: " + restriction);
return false;
}
return true;