OSDN Git Service

Add special case for Gallery2 when opening image files.
authorMatt Garnes <matt@cyngn.com>
Sat, 17 Jan 2015 08:58:20 +0000 (16:58 +0800)
committerMatt Garnes <matt@cyngn.com>
Sun, 18 Jan 2015 15:15:28 +0000 (15:15 +0000)
commit41e0d746284f22fbed08fd6c4c09e46f69458c15
tree7c31efe19125df0d2e0ffabc58e7bcd8831ea6c0
parent2ad1c3394e66e23ad934d0ddbbd42118a6b458df
Add special case for Gallery2 when opening image files.

Gallery2 will change the back button behavior when opening a media URI
to a specific image with FLAG_ACTIVITY_NEW_TASK. Do not use this flag
for intents resolving to Gallery2 for media URIs.

Change-Id: I26d36536bf071403bfd6d8430c2656f1b3ec3449
src/com/cyanogenmod/filemanager/ui/policy/IntentsActionPolicy.java