Issue metadata
Sign in to add a comment
|
[Chrome][M48][Android 6.0] Unavailable to open URL more than twice |
||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. Email with the url (http://waptb.lge.com/w/jinkyu/download/intent.html)is received 2. Open email app > Click the received email 3. Click "http://waptb.lge.com/w/jinkyu/download/HelloTest.apk" in email to download test app 3. Download & install downloaded test app 4. Revisit the email app > open the email same as step 2 5. Click the url in the email to execute test app 6. Press back key to come back from test app to email app 7. Click again the url in email What is the expected behavior? Test app should be executed. What went wrong? Test app is not executed, but Chrome is executed. Did this work before? N/A Chrome version: 48.0.2564.116 Channel: stable OS Version: 6.0 Flash Version: Shockwave Flash 20.0 r0
,
Mar 8 2016
,
Mar 8 2016
Why do you we expect to open the test app? When you click on .exe link twice on desktop chrome, you get an extra copy of exe file. Execution of the exe file is done separately. Also, if exe file itself is just a set-up file, clicking on it twice won't launch the installed executable: it will set up twice instead. By the same token, I don't understand why the reporter expects chrome to open the installed app. On Chrome, we have a logic to prevent duplicate file downloading, and that's why you're seeing chrome. I'm not sure if we want to change this behavior even when url came from another app. If you want to change this behavior (e.g. have android download manager take control), you need to override the following function in the email app. Otherwise, activity manager will jump in and handle the intent by itself. http://developer.android.com/reference/android/webkit/WebViewClient.html#shouldOverrideUrlLoading(android.webkit.WebView, java.lang.String) |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by rsgav...@chromium.org
, Mar 7 2016Labels: Needs-Feedback