mirror of
https://github.com/Freeyourgadget/Gadgetbridge
synced 2026-04-13 18:46:11 +02:00
Mi Band: Make sure live activity gets stopped when using the back button
This commit is contained in:
parent
3a1f91b5a8
commit
d66f842e9b
@ -351,6 +351,7 @@ public class LiveActivityFragment extends AbstractChartFragment {
|
||||
|
||||
@Override
|
||||
public void onDestroyView() {
|
||||
onMadeInvisibleInActivity();
|
||||
LocalBroadcastManager.getInstance(getActivity()).unregisterReceiver(mReceiver);
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user