| 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 3fbf764f01d5e31c24dcc0e7af97386830520704..005bb45c1b6bfe49bff59fd6c021f8d12098f913 100644
|
| --- a/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
|
| +++ b/remoting/android/java/src/org/chromium/chromoting/Chromoting.java
|
| @@ -45,8 +45,8 @@ public class Chromoting extends Activity implements JniInterface.ConnectionListe
|
| private static final String ACCOUNT_TYPE = "com.google";
|
|
|
| /** Scopes at which the authentication token we request will be valid. */
|
| - private static final String TOKEN_SCOPE = "oauth2:https://www.googleapis.com/auth/chromoting " +
|
| - "https://www.googleapis.com/auth/googletalk";
|
| + private static final String TOKEN_SCOPE = "oauth2:https://www.googleapis.com/auth/chromoting "
|
| + + "https://www.googleapis.com/auth/googletalk";
|
|
|
| /** Web page to be displayed in the Help screen when launched from this activity. */
|
| private static final String HELP_URL =
|
| @@ -355,8 +355,8 @@ public class Chromoting extends Activity implements JniInterface.ConnectionListe
|
| public boolean onNavigationItemSelected(int itemPosition, long itemId) {
|
| mAccount = mAccounts[itemPosition];
|
|
|
| - getPreferences(MODE_PRIVATE).edit().putString("account_name", mAccount.name).
|
| - putString("account_type", mAccount.type).apply();
|
| + getPreferences(MODE_PRIVATE).edit().putString("account_name", mAccount.name)
|
| + .putString("account_type", mAccount.type).apply();
|
|
|
| // The current host list is no longer valid for the new account, so clear the list.
|
| mHosts = new HostInfo[0];
|
|
|