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

Commit be9cfc79 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 12460092 from 4427c3ff to 25Q1-release

Change-Id: I44a8ce74c8477f22cbc87862917cbc0eace8958e
parents 8734774b 4427c3ff
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -90,6 +90,12 @@ void BundleContext::deInit() {
    }
}

RetCode BundleContext::setCommon(const Parameter::Common& common) {
    RetCode ret = EffectContext::setCommon(common);
    RETURN_VALUE_IF(ret != RetCode::SUCCESS, ret, " setCommonFailed");
    return init();
}

RetCode BundleContext::enable() {
    if (mEnabled) return RetCode::ERROR_ILLEGAL_PARAMETER;
    // Bass boost or Virtualizer can be temporarily disabled if playing over device speaker due to
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ class BundleContext final : public EffectContext {
    void deInit();
    lvm::BundleEffectType getBundleType() const { return mType; }

    RetCode setCommon(const Parameter::Common& common) override;

    RetCode enable() override;
    RetCode enableOperatingMode();
    RetCode disable() override;