summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAbhisek Devkota <ciwrl@cyanogenmod.com>2014-05-26 22:39:47 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-05-26 22:39:47 +0000
commit7b85dad5dbe3c68d1a7663b8baa0de6a6e83f884 (patch)
treef872618ac94143cfa837b2c6531a83d76112da86 /src
parent243d16e2e56c4c4b5c8dde08a04e19f2de2cc41e (diff)
parentd43dc8d6f5b80c1001d98bfe301309c0da9031f3 (diff)
downloadandroid_packages_providers_ThemesProvider-7b85dad5dbe3c68d1a7663b8baa0de6a6e83f884.zip
android_packages_providers_ThemesProvider-7b85dad5dbe3c68d1a7663b8baa0de6a6e83f884.tar.gz
android_packages_providers_ThemesProvider-7b85dad5dbe3c68d1a7663b8baa0de6a6e83f884.tar.bz2
Merge "Fix NPE if themeContext is null - round 2" into cm-11.0
Diffstat (limited to 'src')
-rw-r--r--src/org/cyanogenmod/themes/provider/CopyImageService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/cyanogenmod/themes/provider/CopyImageService.java b/src/org/cyanogenmod/themes/provider/CopyImageService.java
index e98fa03..8a0362a 100644
--- a/src/org/cyanogenmod/themes/provider/CopyImageService.java
+++ b/src/org/cyanogenmod/themes/provider/CopyImageService.java
@@ -107,7 +107,8 @@ public class CopyImageService extends IntentService {
themeContext = context.createPackageContext(pkgName,
Context.CONTEXT_IGNORE_SECURITY);
} catch (NameNotFoundException e) {
- e.printStackTrace();
+ Log.e(TAG, "Error getting themeContext", e);
+ return;
}
// This is for testing only. We copy some assets from APK and put into