OSDN Git Service

Permissions check for Wifi Display configuration
authorSohani Rao <sohanirao@google.com>
Thu, 29 Sep 2016 23:20:45 +0000 (16:20 -0700)
committerSohani Rao <sohanirao@google.com>
Mon, 14 Nov 2016 18:21:31 +0000 (10:21 -0800)
commitef401300e8a9f819fa7b1c8c20b9800cc24ce489
treeaa2d09e1d07d8f4ad60eb68328e482ec99d86f39
parent264d1f12a304bab2c6f9e5053990a86c3060fdc2
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
Merged-In: I0be2d2af49070aad759f24bd31331f7df39a0422
wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl
wifi/java/android/net/wifi/p2p/WifiP2pManager.java