Removing some unnecessary stacktraces from the log
Bug: 36604650 Change-Id: If754aacf37fed5fdc9ff419812c0924ad136eb45
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user