aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid van Tonder <david.vantonder@gmail.com>2012-11-15 16:42:54 -0800
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-11-15 16:42:54 -0800
commit936b5230e879fc35c8f423b3192db678f4b0db21 (patch)
tree2db4fa14d3c3bb6babf6f5045a00c091630d4465
parenta48778d1822fdbdb99efa907bcc251965310d2d3 (diff)
parent467118952ad95f800ec3f2be753ae59e8177fd4e (diff)
downloadandroid_packages_apps_CMFileManager-936b5230e879fc35c8f423b3192db678f4b0db21.tar.gz
android_packages_apps_CMFileManager-936b5230e879fc35c8f423b3192db678f4b0db21.tar.bz2
android_packages_apps_CMFileManager-936b5230e879fc35c8f423b3192db678f4b0db21.zip
Merge "CMFileManager: Fix invalid resource on create shortcut" into jellybean
-rw-r--r--src/com/cyanogenmod/filemanager/ui/policy/IntentsActionPolicy.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/filemanager/ui/policy/IntentsActionPolicy.java b/src/com/cyanogenmod/filemanager/ui/policy/IntentsActionPolicy.java
index be0533b7..004719b0 100644
--- a/src/com/cyanogenmod/filemanager/ui/policy/IntentsActionPolicy.java
+++ b/src/com/cyanogenmod/filemanager/ui/policy/IntentsActionPolicy.java
@@ -265,7 +265,7 @@ public final class IntentsActionPolicy extends ActionsPolicy {
String resid = MimeTypeHelper.getIcon(ctx, fso);
int dwid =
ResourcesHelper.getIdentifier(
- ctx.getResources(), "string", resid); //$NON-NLS-1$
+ ctx.getResources(), "drawable", resid); //$NON-NLS-1$
// The intent to send to broadcast for register the shortcut intent
Intent intent = new Intent();
@@ -324,4 +324,4 @@ public final class IntentsActionPolicy extends ActionsPolicy {
return intents;
}
-} \ No newline at end of file
+}