Android Video Capture: Using full class path for Camera+subclasses to avoid @deprecation warnings
Since @SuppressWarnings("deprecated") doesn't work for import statements, the only option is to use the fully qualified class path in every reference. To be sure, two deprecation warnings still remain, namely in the use of public abstract class VideoCapture implements android.hardware.Camera.PreviewCallback { That somehow is not covered by the suppression. TBR=qinmin@chromium.org BUG=398669 Review URL: https://codereview.chromium.org/605183002 Cr-Commit-Position: refs/heads/master@{#296918}
Showing
Please register or sign in to comment