am 913d04aa: Merge "Don\'t log the full stack trace when we can\'t load a resource." into honeycomb
* commit '913d04aa3b187beffd7691acb1e61a8b09810bbe': Don't log the full stack trace when we can't load a resource.
This commit is contained in:
@@ -570,6 +570,9 @@ final class ApplicationPackageManager extends PackageManager {
|
||||
} catch (NameNotFoundException e) {
|
||||
Log.w("PackageManager", "Failure retrieving resources for"
|
||||
+ appInfo.packageName);
|
||||
} catch (Resources.NotFoundException e) {
|
||||
Log.w("PackageManager", "Failure retrieving resources for"
|
||||
+ appInfo.packageName + ": " + e.getMessage());
|
||||
} catch (RuntimeException e) {
|
||||
// If an exception was thrown, fall through to return
|
||||
// default icon.
|
||||
|
||||
Reference in New Issue
Block a user