Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: media/base/android/java/src/org/chromium/media/VideoCaptureTango.java

Issue 555113002: Android video capture: suppress deprecated warnings while migrating to new API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/java/src/org/chromium/media/VideoCaptureTango.java
diff --git a/media/base/android/java/src/org/chromium/media/VideoCaptureTango.java b/media/base/android/java/src/org/chromium/media/VideoCaptureTango.java
index b8f94e209dcbc270dd533db1327d7c9299e1d6a1..684055723e7a56e2578db31279a54dfd47832e1f 100644
--- a/media/base/android/java/src/org/chromium/media/VideoCaptureTango.java
+++ b/media/base/android/java/src/org/chromium/media/VideoCaptureTango.java
@@ -20,6 +20,7 @@ import java.util.Arrays;
* |id| passed on constructor, according to the index correspondence in
* |s_CAM_PARAMS|; all devices |id| are index 0 towards the parent VideoCapture.
**/
+@SuppressWarnings("deprecation")
public class VideoCaptureTango extends VideoCapture {
private ByteBuffer mFrameBuffer = null;
private final int mTangoCameraId;
« no previous file with comments | « media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698