Caching last predictions and loading it with model

Adding support for persisting itemInfos on disk. This uses
a separate xml file. Unlike prefs, it does not keep the items
in memory and is just a wraper over reading/writing a file.

Bug: 160748731
Change-Id: Iaccab9928ab8f30127fb3c2d630ca8ca83f0bd05
This commit is contained in:
Sunny Goyal committed 2020-08-11 13:23:29 -07:00
1 parent d62e797d18
commit 762d06136c
13 files changed
+393 -101

No files matched your search

@@ -658,7 +658,7 @@ public class AutoInstallsLayout {
}
}
protected static void beginDocument(XmlPullParser parser, String firstElementName)
public static void beginDocument(XmlPullParser parser, String firstElementName)
throws XmlPullParserException, IOException {
int type;
while ((type = parser.next()) != XmlPullParser.START_TAG