Skip to content

Commit bdac829

Browse files
isheriffAndroid (Google) Code Review
authored andcommitted
Merge "Make rssi state change sticky" into jb-mr1-dev
2 parents 71520a6 + 17d9f67 commit bdac829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wifi/java/android/net/wifi/WifiStateMachine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ private void sendRssiChangeBroadcast(final int newRssi) {
16241624
Intent intent = new Intent(WifiManager.RSSI_CHANGED_ACTION);
16251625
intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
16261626
intent.putExtra(WifiManager.EXTRA_NEW_RSSI, newRssi);
1627-
mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
1627+
mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
16281628
}
16291629

16301630
private void sendNetworkStateChangeBroadcast(String bssid) {

0 commit comments

Comments
 (0)