diff --git a/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputerConnectionFragment.java b/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputerConnectionFragment.java index 05172b56a8a3..2779370bcd5b 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputerConnectionFragment.java +++ b/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputerConnectionFragment.java @@ -133,8 +133,8 @@ public class ComputerConnectionFragment extends SherlockFragment implements Serv } @Override - public void onResume() { - super.onResume(); + public void onStart() { + super.onStart(); registerIntentsReceiver(); } @@ -285,8 +285,8 @@ public class ComputerConnectionFragment extends SherlockFragment implements Serv } @Override - public void onPause() { - super.onPause(); + public void onStop() { + super.onStop(); unregisterIntentsReceiver(); }