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

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

Make Camera#native_instance private

Bug: 156272375
Test: make

No other class needs this. Also remove UnsupportedAppUsage. The
dashboard shows no usage.

Change-Id: I69fce40fa079380e59b0be8367bc7c9ab44ae76d
parent cdf5c4ca
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package android.graphics;

import android.compat.annotation.UnsupportedAppUsage;

/**
 * A camera instance can be used to compute 3D transformations and
 * generate a matrix that can be applied, for instance, on a
@@ -168,6 +166,5 @@ public class Camera {
    private native void nativeGetMatrix(long native_matrix);
    private native void nativeApplyToCanvas(long native_canvas);

    @UnsupportedAppUsage
    long native_instance;
    private long native_instance;
}