Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java

Issue 2175223003: ItemAdapter::clear() function needs to clear mDisabledEntries and mItemDescriptionMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated ItemAdapter::clear() function Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java b/chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java
index 7665630755ad453ecb116c84a02ba4e1fd2031e8..d2277bbaf96a7164a7dd6c46bbc445f35b886c97 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java
@@ -181,6 +181,8 @@ public class ItemChooserDialog {
@Override
public void clear() {
mSelectedItem = ListView.INVALID_POSITION;
+ mDisabledEntries.clear();
+ mItemDescriptionMap.clear();
mConfirmButton.setEnabled(false);
super.clear();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698