Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3446f98 authored by Jason Monk's avatar Jason Monk
Browse files

Fix storage title clearing in multi-window

By accurately tracking detached state.

Change-Id: If9d60000f7737c834afde680d15a2af21f7e3165
Fixes: 27989238
parent 0e048a11
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -325,6 +325,12 @@ public class PrivateVolumeSettings extends SettingsPreferenceFragment {
        mStorageManager.unregisterListener(mStorageListener);
    }

    @Override
    public void onAttach(Context context) {
        super.onAttach(context);
        mDetached = false;
    }

    @Override
    public void onDetach() {
        super.onDetach();