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

Commit ae257c7c authored by jiabin's avatar jiabin Committed by Jiabin Huang
Browse files

Add API for preparing to disconnect external device.

Bug: 279824103
Test: atest CoreAudioHalAidlTest
Change-Id: Ic54ce02e8c1494f64ebb90cf8c9e6e34d72ee29e
Merged-In: Ic54ce02e8c1494f64ebb90cf8c9e6e34d72ee29e
parent b72144c5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -201,6 +201,9 @@ class ModuleMock : public ::aidl::android::hardware::audio::core::BnModule,
    ndk::ScopedAStatus getAAudioHardwareBurstMinUsec(int32_t*) override {
        return ndk::ScopedAStatus::ok();
    }
    ndk::ScopedAStatus prepareToDisconnectExternalDevice(int32_t) override {
        return ndk::ScopedAStatus::ok();
    }

    bool mIsScreenTurnedOn = false;
    ScreenRotation mScreenRotation = ScreenRotation::DEG_0;