Permissions check for Wifi Display configuration
Wifi Display is configured using the AIDL call setMiracastMode() and using a message over the async channel SET_WFD_INFO. Enforce permissions on the calling uid before updating the config Bug: 18668877 Test: Unit tests Change-Id: I0be2d2af49070aad759f24bd31331f7df39a0422
This commit is contained in:
@@ -28,5 +28,6 @@ interface IWifiP2pManager
|
|||||||
Messenger getMessenger();
|
Messenger getMessenger();
|
||||||
Messenger getP2pStateMachineMessenger();
|
Messenger getP2pStateMachineMessenger();
|
||||||
void setMiracastMode(int mode);
|
void setMiracastMode(int mode);
|
||||||
|
void checkConfigureWifiDisplayPermission();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user