Remove legacy Camera2Enumerator.isSupported method.

BUG=webrtc:6390
R=magjed@webrtc.org

Review-Url: https://codereview.webrtc.org/2395403002
Cr-Commit-Position: refs/heads/master@{#14572}
This commit is contained in:
sakal 2016-10-07 07:06:03 -07:00 committed by Commit bot
parent c7901c6491
commit d2cf1ce8aa

View File

@ -102,16 +102,6 @@ public class Camera2Enumerator implements CameraEnumerator {
}
}
/**
* Checks if Android version is new enough to support camera2.
*
* This method will be removed soon. Use isSupported(Context).
*/
@Deprecated
public static boolean isSupported() {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
}
/**
* Checks if API is supported and all cameras have better than legacy support.
*/