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

Commit db313f6b authored by Abhijeet Kaur's avatar Abhijeet Kaur Committed by Android (Google) Code Review
Browse files

Merge "Do not send finished broadcasts when called by API"

parents 22126b3c 69b479a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2708,7 +2708,7 @@ Dumpstate::RunStatus Dumpstate::RunInternal(int32_t calling_uid,
    }
    }


    /* tell activity manager we're done */
    /* tell activity manager we're done */
    if (options_->do_broadcast) {
    if (options_->do_broadcast && !CalledByApi()) {
        SendBugreportFinishedBroadcast();
        SendBugreportFinishedBroadcast();
        // Note that listener_ is notified in Run();
        // Note that listener_ is notified in Run();
    }
    }