not have permission cause crash
Reported by
a32824...@gmail.com,
Jan 13 2017
|
|||
Issue description
Chrome Version : 53
The Android os: 4.4.4
Step:
1.zip a html file
2.push it in to /sdcard/ directory
I use a filemanager app,and when I use it to open the zip,open the html, it will carsh,the crash like this:
Caused by: java.lang.SecurityException: Uid 10002 does not have permission to uri content://com.android.htmlfileprovider/sdcard/Android/data/com.estrongs.android.pop/tmp/zip/xxxxxxxxxxxxxxxxx.htm
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2178)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1419)
at android.app.Activity.startActivityForResult(Activity.java:3437)
at android.app.Activity.startActivityForResult(Activity.java:3398)
at android.app.Activity.startActivity(Activity.java:3640)
at android.app.Activity.startActivity(Activity.java:3608)
at org.chromium.chrome.browser.document.ChromeLauncherActivity.launchTabbedMode(ChromeLauncherActivity.java:667)
at org.chromium.chrome.browser.document.ChromeLauncherActivity.onCreate(ChromeLauncherActivity.java:207)
at android.app.Activity.performCreate(Activity.java:5246)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2186)
... 11 more
It look like have no permission, And I use other browser to open it, it will not access the file but not crash.
If I change the AndroidMainfest.xml to open ChromeTabbedActivity dirct,it will ok.
so,any one know how to fix it ?
,
Jan 20 2017
Thanks for your report! Do you see this issue on latest chrome 55.0.2883.91 ? If so can you please provide the device name and model number ?
,
Feb 20 2017
No feedback was received in the last 30 days from reporter "a32824078@gmail.com", so archiving this. Please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||
►
Sign in to add a comment |
|||
Comment 1 by msrchandra@chromium.org
, Jan 16 2017