From b8ce87175e3a865feaad7c6aa49226f768729540 Mon Sep 17 00:00:00 2001 From: Etan Cohen Date: Thu, 29 Sep 2016 16:12:47 -0700 Subject: [PATCH] [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 | 1 + 1 file changed, 1 insertion(+) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index e85f8dd9c6eb..1b153492817b 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -250,6 +250,7 @@ + -- 2.11.0