Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[audiorouting] Derive music playback from media_state. Fixes JB#36733
Relying on volume limit heuristics to determine whether some application is doing audio playback is unreliable. And if MCE makes a wrong guess it affects for example volume key input policy (volume keys can't be used for adjusting playback volume). When possible, use factual media state information instead of heuristics. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
1 changed file
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters