Make sure to exit CAB when MessageListView .
Change-Id: Ie6c5ec26ceff700ee00c6fbb3af4cbe23c498db4
This commit is contained in:
parent
f11295f335
commit
fe001abe79
@ -344,6 +344,12 @@ public class MessageListFragment extends ListFragment
|
||||
}
|
||||
mTaskTracker.cancellAllInterrupt();
|
||||
mRefreshManager.unregisterListener(mRefreshListener);
|
||||
|
||||
// Make sure to exit CAB
|
||||
// TODO: This is a questionable place to do this for the phone UI. We want to hide the CAB
|
||||
// when the fragment is put in the back stack as well, in which case onDestroy() won't be
|
||||
// called. Consider doing it in onDestroyView instead.
|
||||
finishSelectionMode();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user