Added AIDL interface version check for backward compatibility
In the trunk-stable model the HAL implementation should be
backward compatible with the wifi mainline module. So call the newer/modified
callback function based on the AIDL interface version.
Added the version check in three event paths,
1. AP-STA-CONNECTED event 2. AP-STA-DISCONNECTED event 3. Provision discovery frame
handler
Bug: 313582342
Bug: 310534969
Test: Ran P2P connection tests between Trunk build (version 2) and next build (version
3). Verfied from the logs that the version is set correctly. Also
verified that the right APIs are called.
Change-Id: I27140e10d37149b632d770124a39d0edd207ba66
1 file changed