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

Commit 50638905 authored by d34d's avatar d34d
Browse files

Don't log an error if we cannot open icon hash

The icons will end up being processed if we cannot access the hash
so let's just fail gracefully and silently.

Change-Id: I6368ee9bb47a9d52351fff22283ffac2de625b71
parent 01908aed
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5441,7 +5441,8 @@ public class PackageManagerService extends IPackageManager.Stub {
            int actualHashCode = getPackageHashCode(pkg);
            return storedHashCode != actualHashCode;
        } catch(IOException e) {
            Log.e(TAG, "Could not read hash for " + pkg + "not compiling icon pack", e);
            // all is good enough for government work here,
            // we'll just return true and the icons will be processed
        } finally {
            IoUtils.closeQuietly(in);
            IoUtils.closeQuietly(dataInput);