frameworks/base
Revision | 7c8fce66abaf128339db09ac11eefa9ccdd1f257 (tree) |
---|---|
Time | 2019-12-28 05:47:18 |
Author | Etan Cohen <etancohen@goog...> |
Commiter | Etan Cohen |
[WIFI] Protect broadcasts used by the Wi-Fi framework
Make sure the broadcasts used by the Wi-Fi framework are protected:
i.e. can only be transmitted by privileged components (as opposed to
any 3rd party app).
Broadcast: Suggestion API
Bug: 146642727
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Merged-In: I9a0bf4428774b13cc6414a223f378e09341a6a55
Change-Id: I9a0bf4428774b13cc6414a223f378e09341a6a55
@@ -344,6 +344,9 @@ | ||
344 | 344 | <protected-broadcast android:name="com.android.server.net.action.SNOOZE_WARNING" /> |
345 | 345 | <protected-broadcast android:name="com.android.server.net.action.SNOOZE_RAPID" /> |
346 | 346 | <protected-broadcast android:name="com.android.server.wifi.ACTION_SHOW_SET_RANDOMIZATION_DETAILS" /> |
347 | + <protected-broadcast android:name="com.android.server.wifi.action.NetworkSuggestion.USER_ALLOWED_APP" /> | |
348 | + <protected-broadcast android:name="com.android.server.wifi.action.NetworkSuggestion.USER_DISALLOWED_APP" /> | |
349 | + <protected-broadcast android:name="com.android.server.wifi.action.NetworkSuggestion.USER_DISMISSED" /> | |
347 | 350 | <protected-broadcast android:name="com.android.server.wifi.ConnectToNetworkNotification.USER_DISMISSED_NOTIFICATION" /> |
348 | 351 | <protected-broadcast android:name="com.android.server.wifi.ConnectToNetworkNotification.CONNECT_TO_NETWORK" /> |
349 | 352 | <protected-broadcast android:name="com.android.server.wifi.ConnectToNetworkNotification.PICK_WIFI_NETWORK" /> |