summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2015-08-06 21:02:23 (GMT)
committerAdam Cohen <adamcohen@google.com>2015-08-06 21:07:49 (GMT)
commitcf0c746ec080ee528d4994c382562fda1e647752 (patch)
tree847fa726d8155adb9175b426c64944fa19f74171
parent7573123c0518f338895d59ada6ec4a8e170f5bf5 (diff)
downloadandroid_packages_apps_Trebuchet-cf0c746ec080ee528d4994c382562fda1e647752.zip
android_packages_apps_Trebuchet-cf0c746ec080ee528d4994c382562fda1e647752.tar.gz
android_packages_apps_Trebuchet-cf0c746ec080ee528d4994c382562fda1e647752.tar.bz2
Always log if Package is missing while loading default workspace
Change-Id: I7f2e5a9aabdf1fc192ad7912aaefa3f41c059ff1
-rw-r--r--src/com/android/launcher3/AutoInstallsLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/AutoInstallsLayout.java b/src/com/android/launcher3/AutoInstallsLayout.java
index 99a98dd..440e4e7 100644
--- a/src/com/android/launcher3/AutoInstallsLayout.java
+++ b/src/com/android/launcher3/AutoInstallsLayout.java
@@ -355,7 +355,7 @@ public class AutoInstallsLayout {
return addShortcut(info.loadLabel(mPackageManager).toString(),
intent, Favorites.ITEM_TYPE_APPLICATION);
} catch (PackageManager.NameNotFoundException e) {
- if (LOGD) Log.w(TAG, "Unable to add favorite: " + packageName + "/" + className, e);
+ Log.e(TAG, "Unable to add favorite: " + packageName + "/" + className, e);
}
return -1;
} else {
@@ -367,7 +367,7 @@ public class AutoInstallsLayout {
* Helper method to allow extending the parser capabilities
*/
protected long invalidPackageOrClass(XmlResourceParser parser) {
- if (LOGD) Log.d(TAG, "Skipping invalid <favorite> with no component");
+ Log.w(TAG, "Skipping invalid <favorite> with no component");
return -1;
}
}