Index: content/browser/media/encrypted_media_browsertest.cc |
diff --git a/content/browser/media/encrypted_media_browsertest.cc b/content/browser/media/encrypted_media_browsertest.cc |
index d9a2573d4c439fd9b875de0d750d5cfdac03e91c..9f5e1377049c683c90c99ce2fcad141321a5b842 100644 |
--- a/content/browser/media/encrypted_media_browsertest.cc |
+++ b/content/browser/media/encrypted_media_browsertest.cc |
@@ -125,6 +125,13 @@ |
title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEmeNotSupportedError)); |
title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEmeKeyError)); |
} |
+ |
+#if defined(OS_ANDROID) |
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { |
+ command_line->AppendSwitch( |
+ switches::kDisableGestureRequirementForMediaPlayback); |
+ } |
+#endif |
}; |
using ::testing::Combine; |