Snap for 5637134 from 7ca9afd8f5c55566347647e28106b122202f07ca to qt-release

Change-Id: Ie780bd5913078d4f03bdf4bea4aff26b65a940c3
diff --git a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiP2pManagerFacade.java b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiP2pManagerFacade.java
index dc1fe34..6802407 100644
--- a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiP2pManagerFacade.java
+++ b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiP2pManagerFacade.java
@@ -570,6 +570,14 @@
         mChannel = mP2p.initialize(mService, mService.getMainLooper(), null);
     }
 
+    @Rpc(description = "Sets the listening channel and operating channel of the current group created with initialize")
+    public void wifiP2pSetChannelsForCurrentGroup(
+            @RpcParameter(name = "listeningChannel") Integer listeningChannel,
+            @RpcParameter(name = "operatingChannel") Integer operatingChannel) {
+        mP2p.setWifiP2pChannels(mChannel, listeningChannel, operatingChannel,
+                new WifiP2pActionListener(mEventFacade, "SetChannels"));
+    }
+
     @Rpc(description = "Close the current wifi p2p connection created with initialize.")
     public void wifiP2pClose() {
         if (mChannel != null) {