Commit 35f60266 authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

Enable hardware key handling on CrOS

Enable hardware key handling on CrOS for launch in
M73. Also fixes a type for kInternalMediaSession flag.

BUG=891401

Change-Id: Ic79a2cb889b5f633ef971f62d67aaaf52b54d715
Reviewed-on: https://chromium-review.googlesource.com/c/1423131Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625336}
parent 052ae71a
......@@ -340,7 +340,13 @@ const base::Feature kHardwareSecureDecryption{
// Enables handling of hardware media keys for controlling media.
const base::Feature kHardwareMediaKeyHandling{
"HardwareMediaKeyHandling", base::FEATURE_DISABLED_BY_DEFAULT};
"HardwareMediaKeyHandling",
#if defined(OS_CHROMEOS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
};
// Enables low-delay video rendering in media pipeline on "live" stream.
const base::Feature kLowDelayVideoRenderingOnLiveStream{
......@@ -479,7 +485,7 @@ const base::Feature kInternalMediaSession {
#if defined(OS_ANDROID)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
base::FEATURE_DISABLED_BY_DEFAULT
#endif
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment