// if we shouldn't update, get the values from the ModuleListCache realm
if(!repoData.shouldUpdate()&&repoData.preferenceId=="androidacy_repo"){// for now, only enable cache reading for androidacy repo, until we handle storing module prop file values in cache
Timber.d("Fetching index from cache for %s",repoData.preferenceId)
@ -127,13 +140,13 @@ class RepoUpdater(repoData2: RepoData) {
}
funfinish():Boolean{
valsuccess=AtomicBoolean(false)
Timber.d("Finishing update for %s",repoData.preferenceId)
// If repo is not enabled we don't need to do anything, just return true
if(!repoData.isEnabled){
Timber.d("Repo %s is disabled, skipping",repoData.preferenceId)
returntrue
}
valsuccess=AtomicBoolean(false)
Timber.d("Finishing update for %s",repoData.preferenceId)
if(indexRaw!=null){
valtmpIndexRaw=indexRaw!!
Timber.d("Updating database for %s",repoData.preferenceId)
<stringname="no_sentry_id">Unable to sumbit feedback - no event ID from Sentry. The last event may not have sent.</string>
<stringname="no_sentry_id">Unable to submit feedback - no event ID from Sentry. The last event may not have sent.</string>
<stringname="remote_module">Available from an online repo</string>
<stringname="remote_message">%s is available from a online repo. <b>We strongly advise you to clean install it because most modules do not handle re-installation gracefully,</b> but you can reinstall instead at your own risk.</string>
<stringname="debug_build_toast">AMM debug build %s built on %s with %d days remaining</string>
<stringname="remote_message_no_update">%s is available from a online repo. Please uninstall it to see it in the online tab.</string>