| Index: remoting/android/java/src/org/chromium/chromoting/jni/Client.java
|
| diff --git a/remoting/android/java/src/org/chromium/chromoting/jni/Client.java b/remoting/android/java/src/org/chromium/chromoting/jni/Client.java
|
| index 274d149d335d8b62d15231b2e1457e28aa9422eb..e98718d59b6071e01abd00a658f5fe686392a12b 100644
|
| --- a/remoting/android/java/src/org/chromium/chromoting/jni/Client.java
|
| +++ b/remoting/android/java/src/org/chromium/chromoting/jni/Client.java
|
| @@ -89,7 +89,7 @@ public class Client implements InputStub {
|
| /** Attempts to form a connection to the user-selected host. */
|
| public void connectToHost(String username, String authToken, String hostJid,
|
| String hostId, String hostPubkey, SessionAuthenticator authenticator, String flags,
|
| - ConnectionListener listener) {
|
| + String hostVersion, String hostOs, String hostOsVersion, ConnectionListener listener) {
|
| disconnectFromHost();
|
|
|
| mConnectionListener = listener;
|
| @@ -97,7 +97,7 @@ public class Client implements InputStub {
|
| nativeConnect(mNativeJniClient, username, authToken, hostJid,
|
| hostId, hostPubkey, mAuthenticator.getPairingId(hostId),
|
| mAuthenticator.getPairingSecret(hostId), mCapabilityManager.getLocalCapabilities(),
|
| - flags);
|
| + flags, hostVersion, hostOs, hostOsVersion);
|
| mConnected = true;
|
| }
|
|
|
| @@ -296,7 +296,8 @@ public class Client implements InputStub {
|
| /** Performs the native portion of the connection. */
|
| private native void nativeConnect(long nativeJniClient,
|
| String username, String authToken, String hostJid, String hostId, String hostPubkey,
|
| - String pairId, String pairSecret, String capabilities, String flags);
|
| + String pairId, String pairSecret, String capabilities, String flags,
|
| + String hostVersion, String hostOs, String hostOsVersion);
|
|
|
| /** Native implementation of Client.handleAuthenticationResponse(). */
|
| private native void nativeAuthenticationResponse(
|
|
|