Update media_switches.cc
This commit is contained in:
parent
0506152545
commit
c9a1ecc2a2
1 changed files with 3 additions and 1 deletions
|
@ -968,7 +968,9 @@ std::string GetEffectiveAutoplayPolicy(const base::CommandLine& command_line) {
|
|||
// The default value is platform dependent.
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
return switches::autoplay::kUserGestureRequiredPolicy;
|
||||
#endif
|
||||
#else
|
||||
return switches::autoplay::kNoUserGestureRequiredPolicy;
|
||||
#endif // BUILDFLAG(IS_ANDROID)
|
||||
}
|
||||
|
||||
// Enables Media Engagement Index recording. This data will be used to determine
|
||||
|
|
Loading…
Reference in a new issue