Chromium Code Reviews| 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 be378904553fec2c44085415258644ed5443d4a1..41d3c9e8f1403b2035f5080b2696c8f9b50c2ebe 100644 |
| --- a/remoting/android/java/src/org/chromium/chromoting/Chromoting.java |
| +++ b/remoting/android/java/src/org/chromium/chromoting/Chromoting.java |
| @@ -283,15 +283,15 @@ public class Chromoting extends Activity implements JniInterface.ConnectionListe |
| /** Called when the user taps on a host entry. */ |
| public void connectToHost(HostInfo host) { |
| - mProgressIndicator = ProgressDialog.show(this, |
| - host.name, getString(R.string.footer_connecting), true, true, |
| - new DialogInterface.OnCancelListener() { |
| - @Override |
| - public void onCancel(DialogInterface dialog) { |
| - JniInterface.disconnectFromHost(); |
| - mTokenFetcher = null; |
| - } |
| - }); |
| + mProgressIndicator = ProgressDialog.show(this, host.name, |
| + getString(R.string.footer_connecting), true, true, |
| + new DialogInterface.OnCancelListener() { |
| + @Override |
|
Lambros
2014/10/15 22:10:19
@Override still not fixed :) Also, shouldn't "new
whywhat
2014/10/15 23:12:38
I'd even say putting each argument of show() on it
aurimas (slooooooooow)
2014/10/15 23:29:48
Done.
|
| + public void onCancel(DialogInterface dialog) { |
| + JniInterface.disconnectFromHost(); |
| + mTokenFetcher = null; |
| + } |
| + }); |
| SessionConnector connector = new SessionConnector(this, this, mHostListLoader); |
| assert mTokenFetcher == null; |
| mTokenFetcher = createTokenFetcher(host); |