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

Commit ee546a63 authored by Weilin Xu's avatar Weilin Xu
Browse files

Fix missing return in default AIDL radio HAL Impl

Bug: 310027894
Test: atest VtsHalBroadcastradioAidlTargetTest
Change-Id: Iea97042e553ddc2c3a20db189077ca4a41200c89
parent 928a88aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -329,7 +329,7 @@ ScopedAStatus BroadcastRadio::step(bool directionUp) {
    std::optional<AmFmBandRange> range = getAmFmRangeLocked();
    if (!range) {
        LOG(ERROR) << __func__ << ": can't find current band or tune operation is in process";
        ScopedAStatus::fromServiceSpecificErrorWithMessage(
        return ScopedAStatus::fromServiceSpecificErrorWithMessage(
                resultToInt(Result::INTERNAL_ERROR),
                "can't find current band or tune operation is in process");
    }