New issue
Advanced search Search tips

Issue 665703 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

ARC: Assign "application/vnd.android.package-archive" MIME type to apk files.

Project Member Reported by kinaba@chromium.org, Nov 16 2016

Issue description

Internal bug: b/32769555

Version: 56.0.2921.0
OS: Chrome OS 8949.0

What steps will reproduce the problem?
(1) Double click an APK file in file manager on the "Play Store"-enabled device.

What is the expected result?
Expected: On normal devices, "Install blocked" dialog with explanation pops up.
Expected: On dev-mode devices with side-loading enabled in Android settings, the apk installation begins.

What happens instead?
Actual: "find an appropriate app in CWS" dialog pops up.



The expected APK file handler in Android receives files with "application/vnd.android.package-archive" MIME type.
Since the Chrome OS MIME type mapping does not know about this MIME type,
currently, *.apk files cannot be associated with the handler.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 17 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f9cdf760c1481c78875f079690821f35a09c8e1f

commit f9cdf760c1481c78875f079690821f35a09c8e1f
Author: kinaba <kinaba@chromium.org>
Date: Thu Nov 17 02:28:46 2016

Assign "application/vnd.android.package-archive" type to APK files on ChromeOS.

The type is necessary for passing the control correctly to the Android side.

BUG= 665703 
BUG=b/32772663

Review-Url: https://codereview.chromium.org/2510523002
Cr-Commit-Position: refs/heads/master@{#432707}

[modify] https://crrev.com/f9cdf760c1481c78875f079690821f35a09c8e1f/net/base/mime_extension_chromeos.cc
[modify] https://crrev.com/f9cdf760c1481c78875f079690821f35a09c8e1f/net/base/mime_util_unittest.cc

Comment 2 by kinaba@chromium.org, Nov 17 2016

Status: Fixed (was: Started)
Status: Verified (was: Fixed)

Sign in to add a comment