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

Commit 0a5b75cc authored by David Zhao's avatar David Zhao Committed by Android (Google) Code Review
Browse files

Merge "Send ports change broadcast explicitly" into main

parents 01f997fe 0b2ddffe
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1380,10 +1380,7 @@ public class LowPowerStandbyController {
            Slog.d(TAG, "notifyStandbyPortsChanged");
        }

        final Intent intent = new Intent(PowerManager.ACTION_LOW_POWER_STANDBY_PORTS_CHANGED);
        intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        mContext.sendBroadcastAsUser(intent, UserHandle.ALL,
                Manifest.permission.MANAGE_LOW_POWER_STANDBY);
        sendExplicitBroadcast(PowerManager.ACTION_LOW_POWER_STANDBY_PORTS_CHANGED);
    }

    /**