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

Commit afa1cda7 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Android (Google) Code Review
Browse files

Merge "libaudiohal@aidl: Postpone clip transitions until V5." into main

parents faf5112d 1884b0f1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ namespace {
static constexpr int32_t kAidlVersion1 = 1;
static constexpr int32_t kAidlVersion2 = 2;
static constexpr int32_t kAidlVersion3 = 3;
static constexpr int32_t kAidlVersion4 = 4;

// Note: these converters are for types defined in different AIDL files. Although these
// AIDL files are copies of each other, however formally these are different types
@@ -184,7 +185,7 @@ status_t DeviceHalAidl::initCheck() {
        std::lock_guard l(mLock);
        RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->getInterfaceVersion(&aidlVersion)));
    }
    if (aidlVersion > kAidlVersion3) {
    if (aidlVersion > kAidlVersion4) {
        mHasClipTransitionSupport = true;
    } else {
        AudioParameter parameterKeys;