Commit 37586be8 authored by Tiago Cunha's avatar Tiago Cunha Committed by GitHub

Merge branch 'develop' into feature/gcm-push

parents 06326eb3 0b7927a0
......@@ -35,7 +35,8 @@
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".activity.ServerConfigActivity"
android:windowSoftInputMode="adjustResize" />
android:windowSoftInputMode="adjustResize"
android:configChanges="orientation|screenSize"/>
<service android:name=".service.RocketChatService" />
......
......@@ -60,20 +60,20 @@ public class ServerConfigActivity extends AbstractFragmentActivity {
setContentView(R.layout.simple_screen);
showFragment(new WaitingFragment());
serverConfigErrorObserver.sub();
}
@Override
protected void onResume() {
super.onResume();
RocketChatService.keepAlive(this);
serverConfigErrorObserver.sub();
}
@Override
protected void onPause() {
protected void onDestroy() {
sessionObserver.unsub();
serverConfigErrorObserver.unsub();
super.onPause();
super.onDestroy();
}
private void onRenderServerConfigError(ServerConfig config) {
......
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