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

Commit 9f6ba7af authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Android (Google) Code Review
Browse files

Merge "Throw exception on nonexistent font" into lmp-dev

parents 7a13ea7e bf8d5620
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ public class Typeface {
                return createFromFamiliesWithDefault(families);
            }
        }
        return null;
        throw new RuntimeException("Font asset not found " + path);
    }

    /**
@@ -215,7 +215,7 @@ public class Typeface {
                return createFromFamiliesWithDefault(families);
            }
        }
        return null;
        throw new RuntimeException("Font not found " + path);
    }

    /**