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

Commit 4668e772 authored by Patrick Scott's avatar Patrick Scott Committed by Android Git Automerger
Browse files

am dc1f0858: am 9902196f: Fix npe in getCacheTotalSize.

Merge commit 'dc1f0858'

* commit 'dc1f0858':
  Fix npe in getCacheTotalSize.
parents 0186c93a dc1f0858
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -772,6 +772,9 @@ public class WebViewDatabase {
    }

    long getCacheTotalSize() {
        if (mCacheDatabase == null) {
            return 0;
        }
        long size = 0;
        Cursor cursor = null;
        final String query = "SELECT SUM(contentlength) as sum FROM cache";