| Index: remoting/android/java/src/org/chromium/chromoting/Chromoting.java
|
| diff --git a/remoting/android/java/src/org/chromium/chromoting/Chromoting.java b/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
|
| index 07d896ff1e9d2cb7b489e3d16f55713d3896a366..22cc376cffaf8edba9ae4376c9b8c9fcf8429efc 100644
|
| --- a/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
|
| +++ b/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
|
| @@ -230,9 +230,9 @@ public class Chromoting extends Activity {
|
|
|
| // Send our HTTP request to the directory server.
|
| URLConnection link =
|
| - new URL(HOST_LIST_PATH + JniInterface.getApiKey()).openConnection();
|
| - link.addRequestProperty("client_id", JniInterface.getClientId());
|
| - link.addRequestProperty("client_secret", JniInterface.getClientSecret());
|
| + new URL(HOST_LIST_PATH + JniInterface.nativeGetApiKey()).openConnection();
|
| + link.addRequestProperty("client_id", JniInterface.nativeGetClientId());
|
| + link.addRequestProperty("client_secret", JniInterface.nativeGetClientSecret());
|
| link.setRequestProperty("Authorization", "OAuth " + authToken);
|
|
|
| // Listen for the server to respond.
|
|
|