Commit 693a275e authored by Grigory Fedorov's avatar Grigory Fedorov

ReconnectionActivity: intent changed. "Not working" ongoing notification during connection fixed.

parent 4c318b9c
...@@ -34,7 +34,9 @@ public class ReconnectionActivity extends Activity { ...@@ -34,7 +34,9 @@ public class ReconnectionActivity extends Activity {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
LogManager.i(this, "onReconnect"); LogManager.i(this, "onReconnect");
ConnectionManager.getInstance().updateConnections(false); ConnectionManager.getInstance().updateConnections(false);
startActivity(ContactList.createPersistentIntent(this)); Intent intent = ContactList.createIntent(this);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
startActivity(intent);
finish(); finish();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment