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

Commit 90088050 authored by Willy Hu's avatar Willy Hu
Browse files

[DSRM] Fix the incorrect broadcast issue

Symptom: b/330803844#comment11, DSRM broadcast the incorrect action

- We should broadcast the last action when passed

Change-Id: Id0143241936115b075c79f63b4bdc7632e2136e5
Bug: 330803844
Test: Local test passed.
      b/341809329 for testing.
parent 90c8bb07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -578,7 +578,7 @@ public class DataStallRecoveryManager extends Handler {
        if (isValid) {
            if (mFeatureFlags.dsrsDiagnosticsEnabled()) {
                // Broadcast intent that data stall recovered.
                broadcastDataStallDetected(getRecoveryAction());
                broadcastDataStallDetected(mLastAction);
            }
            reset();
        } else if (isRecoveryNeeded(true)) {