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

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

am 9902196f: Fix npe in getCacheTotalSize.

Merge commit '9902196f' into gingerbread-plus-aosp

* commit '9902196f':
  Fix npe in getCacheTotalSize.
parents 03381faf 9902196f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -727,6 +727,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";