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

Commit eec973f9 authored by Songyue Han's avatar Songyue Han Committed by Gerrit Code Review
Browse files

Merge "Initialize mError for AudioCapabilities." into main

parents f3e15b18 1f93c948
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -78,6 +78,7 @@ void AudioCapabilities::init(std::string mediaType, std::vector<ProfileLevel> pr
        const sp<AMessage> &format) {
        const sp<AMessage> &format) {
    mMediaType = mediaType;
    mMediaType = mediaType;
    mProfileLevels = profLevs;
    mProfileLevels = profLevs;
    mError = 0;


    initWithPlatformLimits();
    initWithPlatformLimits();
    applyLevelLimits();
    applyLevelLimits();