Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08f16544 authored by Joe Onorato's avatar Joe Onorato
Browse files

Don't log the full stack trace when we can't load a resource.

Bug: 3369315
Change-Id: I3a586bbefccbd59a0e99d712efe9a1cd3da6d058
parent 8192b417
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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.