Timber.d("Fetched %d modules from cache for %s",this.toApply.size(),this.repoData.id);
Timber.d("Fetched %d modules from cache for %s, from %s records",this.toApply.size(),this.repoData.id,results.size());
// close realm
realm.close();
realm2.close();
// apply the toApply list to the toUpdate list
this.toUpdate=newArrayList<>(this.toApply);
returnthis.toUpdate.size();
}
try{
@ -101,7 +101,7 @@ public class RepoUpdater {
}
publicbooleanfinish(){
booleansuccess=this.indexRaw!=null;
varsuccess=newAtomicBoolean(false);
// If repo is not enabled we don't need to do anything, just return true
if(!this.repoData.isEnabled()){
returntrue;
@ -111,7 +111,7 @@ public class RepoUpdater {
// iterate over modules, using this.supportedProperties as a template to attempt to get each property from the module. everything that is not null is added to the module
<stringname="low_quality_module_desc">This module has metadata that is either invalid or considered a marker for a low-quality module. Uninstallation is recommended.</string><stringname="online">Online</string><stringname="safe">Safe</string><stringname="safe_module">Verified safe module</string><stringname="safe_message">This module has been verified by the repository as safe, meaning it passes certain quality and safety thresholds, and is checked for malware.</string>
<stringname="low_quality_module_desc">This module has metadata that is either invalid or considered a marker for a low-quality module. Uninstallation is recommended.</string>
<stringname="safe_message">This module has been verified by the repository as safe, meaning it passes certain quality and safety thresholds, and is checked for malware.</string>
<stringname="notification_update_app_desc">Enable automatically checking for app updates. Updates will not download automatically.</string>
<stringname="notification_update_app_pref">Check for app updates</string><stringname="notification_channel_category_app_update">App updates</string><stringname="notification_channel_category_app_update_description">Notifies when an app update is available</string><stringname="notification_channel_background_update_app">App update available!</string><stringname="notification_channel_background_update_app_description">An update is available for FoxMMM. Tap here to update.</string>