DescriptionFix window leaks related to the suggestion popup.
Currently, Chrome Shell leaks the suggestion popup window when terminating.
We need to handle it as the clank does.
android.view.WindowLeaked: Activity org.chromium.chrome.shell.ChromeShellActivity has leaked window android.widget.PopupWindow$PopupViewContainer that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:348)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.widget.PopupWindow.invokePopup(PopupWindow.java:1019)
at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:925)
at android.widget.ListPopupWindow.show(ListPopupWindow.java:625)
at org.chromium.chrome.shell.omnibox.SuggestionPopup.onSuggestionsReceived(SuggestionPopup.java:126)
at org.chromium.chrome.browser.omnibox.AutocompleteController.onSuggestionsReceived(AutocompleteController.java:175)
at org.chromium.chrome.browser.omnibox.AutocompleteController.nativeStart(Native Method)
at org.chromium.chrome.browser.omnibox.AutocompleteController.start(AutocompleteController.java:79)
at org.chromium.chrome.shell.omnibox.SuggestionPopup$4.run(SuggestionPopup.java:148)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
BUG=380224
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275379
Patch Set 1 #
Total comments: 4
Patch Set 2 : Add javadoc comments. #
Messages
Total messages: 8 (0 generated)
|