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

Commit 0bd3a6b3 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Remove UnsupportedAppUsage from nativeNewInstance([BII)

Test: make

This method is marked as UnsupportedAppUsage, but that was for the
signature prior to I0bf8c4c72cc118d2799a59e8eb6c2cede546fceb (which has
not been released). This was a false positive, anyway. No app should be
using this while there is an almost identical public method.

Change-Id: Ib71a58be6ec72cd4c52e8fca3c2cd4055df55ecf
parent 8a8a7dd1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -318,7 +318,6 @@ public final class BitmapRegionDecoder {
    private static native int nativeGetHeight(long lbm);
    private static native void nativeClean(long lbm);

    @UnsupportedAppUsage
    private static native BitmapRegionDecoder nativeNewInstance(
            byte[] data, int offset, int length);
    private static native BitmapRegionDecoder nativeNewInstance(