Merge "Stop logspam of missing fonts."

This commit is contained in:
TreeHugger Robot
2019-08-06 21:53:27 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 3 deletions

View File

@@ -21,7 +21,6 @@ import android.annotation.UnsupportedAppUsage;
import android.content.res.AssetManager;
import android.graphics.fonts.FontVariationAxis;
import android.text.TextUtils;
import android.util.Log;
import dalvik.annotation.optimization.CriticalNative;
@@ -145,7 +144,6 @@ public class FontFamily {
}
return nAddFont(mBuilderPtr, fontBuffer, ttcIndex, weight, italic);
} catch (IOException e) {
Log.e(TAG, "Error mapping font file " + path);
return false;
}
}

View File

@@ -105,7 +105,6 @@ public final class SystemFonts {
final long fontSize = fileChannel.size();
return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize);
} catch (IOException e) {
Log.e(TAG, "Error mapping font file " + fullPath);
return null;
}
}