diff options
author | David Su <dysu@google.com> | 2020-08-28 13:09:35 -0700 |
---|---|---|
committer | David Su <dysu@google.com> | 2020-09-23 17:12:36 +0000 |
commit | 66d428e3c04eed9a20e0aa80c6e687aee622fc24 (patch) | |
tree | ec190bf0e1768ea849b148793e2aa4d044dbcbe0 | |
parent | edc209e114cb84977b592bd4ef2fe8203a68951c (diff) |
LINK_CONFIGURATION_CHANGED broadcast: stop including EXTRA_LINK_PROPERTIES
This extra is unused, and potentially exposes sensitive information
that can be accessed without any permissions.
Bug: 162246414
Test: atest FrameworksWifiTests
Change-Id: Iae0339790ac9a664c6e73bc4254f1176c6d54f3b
Merged-In: Iae0339790ac9a664c6e73bc4254f1176c6d54f3b
-rw-r--r-- | service/java/com/android/server/wifi/ClientModeImpl.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java index 95983096a..88ce0eda0 100644 --- a/service/java/com/android/server/wifi/ClientModeImpl.java +++ b/service/java/com/android/server/wifi/ClientModeImpl.java @@ -2563,7 +2563,6 @@ public class ClientModeImpl extends StateMachine { private void sendLinkConfigurationChangedBroadcast() { Intent intent = new Intent(WifiManager.ACTION_LINK_CONFIGURATION_CHANGED); intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); - intent.putExtra(WifiManager.EXTRA_LINK_PROPERTIES, new LinkProperties(mLinkProperties)); mContext.sendBroadcastAsUser(intent, UserHandle.ALL); } |