Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1bd69280 authored by liutianxiang's avatar liutianxiang Committed by liu tianxiang
Browse files

audio: add USAGE_UNKNOWN to mediaActive condition



1.If an app play media but the usage of attributes is unknown, musicActivecheck should be started.
2.USAGE_UNKNOWN default value is MEDIA.
3.Otherwise, the mMusicActiveMs will not increase for safe volume when above safe volume.
4.Users listen to music until 20 hours later but the volume does not drop.

Change-Id: I5f84b2c6376b283376d65d398e880a8716c98f59
Signed-off-by: default avatarliutianxiang <liutianxiang@xiaomi.com>
parent 43420b33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment