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

Commit b133bbf6 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Make Bitmap#setNinePatchChunk private

Bug: 150395371
Test: make

This is no longer used internally. Remove @hide so no one is tempted to
use it. Leave the method here out of caution - it is marked
@UnsupportedAppUsage and static analysis shows some usage (though
runtime analysis shows none). Though it's likely unnecessary to keep,
there is little to no burden to keeping it.

Change-Id: I2f2f7b6cec45630acde1e0d903ca5dc6a3fec349
parent 3e59740b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -344,11 +344,9 @@ public final class Bitmap implements Parcelable {
     * Sets the nine patch chunk.
     *
     * @param chunk The definition of the nine patch
     *
     * @hide
     */
    @UnsupportedAppUsage
    public void setNinePatchChunk(byte[] chunk) {
    private void setNinePatchChunk(byte[] chunk) {
        mNinePatchChunk = chunk;
    }