commit | a6dfa74dc524c4566d8bab08fb870fcfe235ddde | [log] [tgz] |
---|---|---|
author | Vladislav Kaznacheev <kaznacheev@google.com> | Thu Jan 25 13:59:35 2018 -0800 |
committer | Vladislav Kaznacheev <kaznacheev@google.com> | Thu Jan 25 13:59:35 2018 -0800 |
tree | 2ccbe2f3ff8b498bb523a48da2fafb62ca84a008 | |
parent | 7f1e49f2ff6b97a85dca041a72398d4a56149787 [diff] |
Fix context submenu position Clear the list of presenters in MenuBuilder when the MenuBuilder instance is reset via clearAll. This prevents MenuPresenter instances from accumulating and ensures that a stale instance MenuPresenter is not activated. Bug: 72507876 Test: android.view.menu.ContextMenuTest Change-Id: I4911ca31307bc93901987f08298fa6b2926ba6ab