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:
parent
ff0ab3bd21
commit
cfe24b09a5
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user