OSDN Git Service

Editor: Handle content uri's in the editor
authorStephen Bird <sbird@cyngn.com>
Thu, 2 Jul 2015 21:01:49 +0000 (14:01 -0700)
committerNBruderman <nbruderman@gmail.com>
Thu, 16 Jul 2015 17:06:44 +0000 (20:06 +0300)
commite09d8433144ac84045e1fbd7bb4723c7cfb66c65
treed7a16b715d41da48abd0d09cf9cd914a74a3b514
parent7310a29aea20505951d36e0584befef0398f10ec
Editor: Handle content uri's in the editor

Previously, files opened that were not contained
inside the /data/media partition were considered
invalid.

Repo steps:
- Open email with .txt attachment
- Open attachment with Editor

This also fixes similar issues all across the
system where content uri's would not open in
editor. Previously they would report that the
user needed to gain root access.

Change-Id: I15aa3fd81ae261f66920d253d6adebe28cf28e66
src/com/cyanogenmod/filemanager/activities/EditorActivity.java