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

Commit a1dcc992 authored by Romain Guy's avatar Romain Guy
Browse files

Undeprecate linear text API

Hardware renderer support pending, but this API should not have
been deprecated in the first place.

Change-Id: I062dac6d65dffb5369e65d55ea159594a0971b59
parent f6e7b208
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);

    /**