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

Commit 63f2907f authored by Etan Cohen's avatar Etan Cohen
Browse files

Restart subsystem API: remove bug report generation argument

Bug: 181014844
Test: atest com.android.server.wifi
Test: atest android.net.wifi
Test: atest android.net.wifi.cts.WifiManagerTest#testRestartWifiSubsystem
Change-Id: If3f03172bf205138649279ab3b52e4c28dd03011
parent 31a69549
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();