Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9716144 authored by Siyamed Sinir's avatar Siyamed Sinir Committed by Android (Google) Code Review
Browse files

Merge "Log warning for downloadable fonts" into sc-dev

parents 22df308f 10a88921
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -350,6 +350,9 @@ public class FontsContract {
            return cachedTypeface;
        }

        Log.w(TAG, "Platform version of downloadable fonts is deprecated. Please use"
                + " androidx version instead.");

        synchronized (sLock) {
            // It is possible that Font is loaded during the thread sleep time
            // re-check the cache to avoid re-loading the font