OSDN Git Service

[NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast [DO NOT MERGE]
authorEtan Cohen <etancohen@google.com>
Thu, 29 Sep 2016 23:12:47 +0000 (16:12 -0700)
committerEtan Cohen <etancohen@google.com>
Thu, 29 Sep 2016 23:15:10 +0000 (16:15 -0700)
commitb8ce87175e3a865feaad7c6aa49226f768729540
treef3fb90a3a183f9113997bd1f21fcc288bf1f437c
parentc76ccf3e7e673fb21f27ea8e7482021900b113cf
[NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast [DO NOT MERGE]

Broadcast can be registered protected (as in this CL) in which case they
are restricted to system apps. Broadcasts sent by the System Service must
be protected (so no one else can fake them).

The WIFI_NAN_STATE_CHANGED is sent by the System Service and no other apps
should be able to send them (e.g. to deny access to NAN to other apps).

Bug: 31811154
Test: build & run - enable/disable Wi-Fi to trigger bug
Change-Id: I9591af930b60842130809cdb37388be515fe6dc3
core/res/AndroidManifest.xml