You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Don't store multiple repo copies in memory
This commit is contained in:
@@ -35,11 +35,13 @@ public class Repo extends BaseModule {
|
||||
Logger.dev("Repo: Fetching prop: " + getId());
|
||||
}
|
||||
|
||||
public void update(Date lastUpdate) throws CacheModException {
|
||||
public boolean update(Date lastUpdate) throws CacheModException {
|
||||
if (lastUpdate.after(mLastUpdate)) {
|
||||
mLastUpdate = lastUpdate;
|
||||
update();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public ContentValues getContentValues() {
|
||||
|
||||
Reference in New Issue
Block a user