Skip to content

Commit 2a62b43

Browse files
isheriffAndroid (Google) Code Review
authored andcommitted
Merge "Remove persistent behavior"
2 parents 329b797 + f9cb1d7 commit 2a62b43

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wifi/java/android/net/wifi/WifiNative.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,11 @@ public static String p2pConnect(WifiP2pConfig config, boolean joinExistingGroup)
284284
break;
285285
}
286286

287+
//TODO: Add persist behavior once the supplicant interaction is fixed for both
288+
// group and client scenarios
287289
/* Persist unless there is an explicit request to not do so*/
288-
if (config.persist != WifiP2pConfig.Persist.NO) args.add("persistent");
290+
//if (config.persist != WifiP2pConfig.Persist.NO) args.add("persistent");
291+
289292
if (joinExistingGroup) args.add("join");
290293

291294
int groupOwnerIntent = config.groupOwnerIntent;

0 commit comments

Comments
 (0)