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

Commit 910f476d authored by Etan Cohen's avatar Etan Cohen Committed by Android (Google) Code Review
Browse files

Merge "Restart subsystem API: remove bug report generation argument" into sc-dev

parents 457fe6d2 63f2907f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ public class ConnectivitySubsystemsRecoveryManager {
     * @param callback Callbacks triggered when recovery status changes.
     */
    public void triggerSubsystemRestart(String reason, @NonNull RecoveryStatusCallback callback) {
        // TODO: b/183530649 : clean-up or make use of the `reason` argument
        mHandler.post(() -> {
            boolean someSubsystemRestarted = false;

@@ -264,7 +265,7 @@ public class ConnectivitySubsystemsRecoveryManager {
            }

            if (isWifiEnabled()) {
                mWifiManager.restartWifiSubsystem(reason);
                mWifiManager.restartWifiSubsystem();
                mWifiRestartInProgress = true;
                someSubsystemRestarted = true;
                startTrackingWifiRestart();