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:
parent
c7901c6491
commit
d2cf1ce8aa
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user