Chromium Code Reviews
DescriptionWebapps: Clear AppBannerManagerAndroid::native_app_data_ prior to native app check
This CL fixes a bug where
1) Navigating to a web page which has a Web Manifest with
"related_applications" specified.
2) Navigating to a web page with a web app compatible Web Manifest
would show a native app banner for the second page.
Whether |AppBannerManagerAndroid::native_app_data_| is set is used to determine
which type of banner to create (native app or webapp). Previously
|AppBannerManagerAndroid::native_app_data_| was only cleared if there was a
native app associated with the Web Manifest. This CL clears
|AppBannerManagerAndroid::native_app_data_| prior to checking
whether there is a native app associated with the Web Manifest.
BUG=687024
Review-Url: https://codereview.chromium.org/2671653002
Cr-Commit-Position: refs/heads/master@{#448218}
Committed: https://chromium.googlesource.com/chromium/src/+/de6f8b587176d94643869d0f28aee52b92ad00b8
Patch Set 1 #
Total comments: 1
Patch Set 2 : Merge branch 'master' into install_banner #Patch Set 3 : Merge branch 'master' into install_banner #
Total comments: 6
Patch Set 4 : Merge branch 'master' into install_banner #Patch Set 5 : Merge branch 'master' into install_banner #
Messages
Total messages: 18 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||