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

Unified Diff: sdk/objc/Framework/Classes/Common/UIDevice+RTCDevice.mm

Issue 3016703002: Fix occassional hang in iOS 11 when calling VTDecompressionSessionInvalidate.
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/external/webrtc into hang Created 3 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 | « no previous file | sdk/objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/objc/Framework/Classes/Common/UIDevice+RTCDevice.mm
diff --git a/sdk/objc/Framework/Classes/Common/UIDevice+RTCDevice.mm b/sdk/objc/Framework/Classes/Common/UIDevice+RTCDevice.mm
index 94faf53506b6e8d039a038117a7579d1a45069a4..01905d99ebaf59bfa6eea4e2b7c6baf995f97dc3 100644
--- a/sdk/objc/Framework/Classes/Common/UIDevice+RTCDevice.mm
+++ b/sdk/objc/Framework/Classes/Common/UIDevice+RTCDevice.mm
@@ -173,4 +173,8 @@
return [self currentDeviceSystemVersion] >= 9.0;
}
++ (BOOL)isIOS11OrLater {
+ return [self currentDeviceSystemVersion] >= 11.0;
+}
+
@end
« no previous file with comments | « no previous file | sdk/objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698