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

Commit 70c8b91e authored by Mark Harman's avatar Mark Harman
Browse files

Suppress deprecation warnings for old camera API.

parent 5a5e447b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@ import android.view.TextureView;

/** Provides support using Android's original camera API
 *  android.hardware.Camera.
 *  Deprecation warnings are suppressed, as we intentionally
 *  offer both old and Camera2 APIs to users.
 * @noinspection deprecation
 */
public class CameraController1 extends CameraController {
    private static final String TAG = "CameraController1";
+3 −0
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@ import android.util.Log;

/** Provides support using Android's original camera API
 *  android.hardware.Camera.
 *  Deprecation warnings are suppressed, as we intentionally
 *  offer both old and Camera2 APIs to users.
 * @noinspection deprecation
 */
public class CameraControllerManager1 extends CameraControllerManager {
    private static final String TAG = "CControllerManager1";