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

Unified Diff: media/base/android/java/src/org/chromium/media/MediaCodecUtil.java

Issue 2896303006: Update cbcs encryption version check for clarity. (Closed)
Patch Set: Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/java/src/org/chromium/media/MediaCodecUtil.java
diff --git a/media/base/android/java/src/org/chromium/media/MediaCodecUtil.java b/media/base/android/java/src/org/chromium/media/MediaCodecUtil.java
index f2703e1fbe5c9572a0df9da49d21359bb108af58..9baeee1370942d6fbd6ed5c02585ef446e13808e 100644
--- a/media/base/android/java/src/org/chromium/media/MediaCodecUtil.java
+++ b/media/base/android/java/src/org/chromium/media/MediaCodecUtil.java
@@ -625,10 +625,10 @@ class MediaCodecUtil {
* encryption scheme, specifically AES CBC encryption with possibility of pattern
* encryption.
* While 'cbcs' scheme was originally implemented in N, there was a bug (in the
- * DRM code) which means that it didn't really work properly until post-N).
+ * DRM code) which means that it didn't really work properly until N-MR1).
ddorwin 2017/05/25 17:36:28 Was the bug in the OS or the Widevine MediaDrm plu
*/
static boolean platformSupportsCbcsEncryption() {
- return Build.VERSION.SDK_INT > Build.VERSION_CODES.N;
+ return Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1;
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698