| Index: remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
|
| diff --git a/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java b/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
|
| index 8f9f6b3ee3775afab8e99399538c778bff835424..3a4fcf15ebc17f16f9aaf48573c27852c6071669 100644
|
| --- a/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
|
| +++ b/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
|
| @@ -59,11 +59,7 @@ public class JniInterface {
|
| @CalledByNative
|
| private static void fetchAuthToken() {
|
| if (sAccount == null) {
|
| - // It is safe to ignore this request since setAccountForLogging() will be called later
|
| - // and will request the auth token. Logs will be queued up and sent once the auth token
|
| - // is set.
|
| - Log.w(TAG, "Account is not set before fetching the auth token.");
|
| - return;
|
| + throw new IllegalStateException("Account is not set before fetching the auth token.");
|
| }
|
| sLoggerTokenConsumer.consume(sAccount, new OAuthTokenFetcher.Callback() {
|
| @Override
|
|
|