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

Commit 62d3a7b7 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Undeprecate linear text API"

parents 84af4dae a1dcc992
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8772,7 +8772,7 @@ package android.graphics {
    method public final boolean isDither();
    method public final boolean isFakeBoldText();
    method public final boolean isFilterBitmap();
    method public final deprecated boolean isLinearText();
    method public final boolean isLinearText();
    method public final boolean isStrikeThruText();
    method public final boolean isSubpixelText();
    method public final boolean isUnderlineText();
@@ -8792,7 +8792,7 @@ package android.graphics {
    method public void setFilterBitmap(boolean);
    method public void setFlags(int);
    method public void setHinting(int);
    method public deprecated void setLinearText(boolean);
    method public void setLinearText(boolean);
    method public android.graphics.MaskFilter setMaskFilter(android.graphics.MaskFilter);
    method public android.graphics.PathEffect setPathEffect(android.graphics.PathEffect);
    method public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer);
+0 −2
Original line number Diff line number Diff line
@@ -553,7 +553,6 @@ public class Paint {
     *
     * @return true if the lineartext bit is set in the paint's flags
     */
    @Deprecated
    public final boolean isLinearText() {
        return (getFlags() & LINEAR_TEXT_FLAG) != 0;
    }
@@ -564,7 +563,6 @@ public class Paint {
     * @param linearText true to set the linearText bit in the paint's flags,
     *                   false to clear it.
     */
    @Deprecated
    public native void setLinearText(boolean linearText);

    /**