Fixed memory leak in ExtractEditLayout finish()
When marking text and opening the edit text dialog and then rotating the device would result in references being kept to the edit text dialog and the memory would never get released again. Change-Id: I3e95083e4923844d2b496ea79174ef97e77f8686
This commit is contained in:
committed by
Johan Redestig
parent
ee80414d0d
commit
567267015d
@@ -163,6 +163,8 @@ public class ExtractEditLayout extends LinearLayout {
|
||||
mCallback.onDestroyActionMode(this);
|
||||
mCallback = null;
|
||||
|
||||
mMenu.close();
|
||||
|
||||
mExtractActionButton.setVisibility(VISIBLE);
|
||||
mEditButton.setVisibility(INVISIBLE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user