From 9322687d98ec425da03cc10ab64ea19ad7fe2d69 Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Mon, 29 Aug 2011 10:36:05 -0700 Subject: Initialize p2p settings And fix associated changes from the settings. With p2p_reconnect setting turned on, it means the p2p group can be started without a group negotiation. Hence, handle p2p group started in the P2pEnabledState Also, reinvocation results in supplicant not reporting device address correctly. Handle that until supplicant fix is fixed. Bug: 5002384 Change-Id: I335f6e854acd6839f54da9b460b17ad7505b1098 --- core/res/res/values/config.xml | 3 + wifi/java/android/net/wifi/WifiNative.java | 13 ++++ wifi/java/android/net/wifi/p2p/WifiP2pService.java | 89 +++++++++++++++------- 3 files changed, 77 insertions(+), 28 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 8fbb09e..738ef0d 100755 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -189,6 +189,9 @@ false + + 10-0050F204-5