DescriptionAndroid 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
Committed: https://crrev.com/dc59e54250458563e3e2d5990dd74089adc44c70
Cr-Commit-Position: refs/heads/master@{#296918}
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 7 (2 generated)
|