Merge "Adding receiver exported flag."
This commit is contained in:
committed by
Android (Google) Code Review
commit
25615df927
@@ -119,7 +119,8 @@ public class TetherService extends Service {
|
|||||||
if (mExpectedProvisionResponseAction != null) unregisterReceiver(mReceiver);
|
if (mExpectedProvisionResponseAction != null) unregisterReceiver(mReceiver);
|
||||||
|
|
||||||
registerReceiver(mReceiver, new IntentFilter(responseAction),
|
registerReceiver(mReceiver, new IntentFilter(responseAction),
|
||||||
android.Manifest.permission.TETHER_PRIVILEGED, null /* handler */);
|
android.Manifest.permission.TETHER_PRIVILEGED, null /* handler */,
|
||||||
|
Context.RECEIVER_EXPORTED);
|
||||||
mExpectedProvisionResponseAction = responseAction;
|
mExpectedProvisionResponseAction = responseAction;
|
||||||
if (DEBUG) Log.d(TAG, "registerReceiver " + responseAction);
|
if (DEBUG) Log.d(TAG, "registerReceiver " + responseAction);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user