added arraylist type (WifiP2pDevice).