Skip to content

Commit f9cb1d7

Browse files
committed
Remove persistent behavior
Until we figure out a good way to do it from both group owner and client, remove persistent behavior Bug: 5241839 Change-Id: I31bda672edaa17e6a500f185b6b879dcfdbd069d
1 parent d56b3c9 commit f9cb1d7

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
@@ -271,8 +271,11 @@ public static String p2pConnect(WifiP2pConfig config, boolean joinExistingGroup)
271271
break;
272272
}
273273

274+
//TODO: Add persist behavior once the supplicant interaction is fixed for both
275+
// group and client scenarios
274276
/* Persist unless there is an explicit request to not do so*/
275-
if (config.persist != WifiP2pConfig.Persist.NO) args.add("persistent");
277+
//if (config.persist != WifiP2pConfig.Persist.NO) args.add("persistent");
278+
276279
if (joinExistingGroup) args.add("join");
277280

278281
int groupOwnerIntent = config.groupOwnerIntent;

0 commit comments

Comments
 (0)