mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-22 23:57:33 +01: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…
x
Reference in New Issue
Block a user