Change time of intents filter reginstration.

A Bluetooth pairing dialog somehow sets the connection fragment on pause
so old registration would cause loosing messages from service.

Change-Id: Ie4f6bef96b89a0c2aa86ec00da478831b572e191
This commit is contained in:
Artur Dryomov 2013-09-01 18:32:50 +03:00
parent ff0ab3bd21
commit cfe24b09a5

View File

@ -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();
}