Removing some unnecessary stacktraces from the log

Bug: 36604650
Change-Id: If754aacf37fed5fdc9ff419812c0924ad136eb45
This commit is contained in:
Sunny Goyal committed 2017-03-27 11:23:18 -07:00
1 parent 40dfa3bf6e
commit eb3ba0fdfb
1 file changed
+2 -2
@@ -195,7 +195,7 @@ public class AutoInstallsLayout {
try {
return parseLayout(mLayoutId, screenIds);
} catch (Exception e) {
Log.w(TAG, "Got exception parsing layout.", e);
Log.e(TAG, "Error parsing layout: " + e);
return -1;
}
}
@@ -362,7 +362,7 @@ public class AutoInstallsLayout {
return addShortcut(info.loadLabel(mPackageManager).toString(),
intent, Favorites.ITEM_TYPE_APPLICATION);
} catch (PackageManager.NameNotFoundException e) {
Log.e(TAG, "Unable to add favorite: " + packageName + "/" + className, e);
Log.e(TAG, "Favorite not found: " + packageName + "/" + className);
}
return -1;
} else {