<uses-permissionandroid:name="android.permission.INTERNET"/><!-- WebView offline webpage support -->
<uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE"/><!-- Check if there is modules updates on boot -->
<uses-permissionandroid:name="android.permission.RECEIVE_BOOT_COMPLETED"/><!-- Open config apps for applications -->
<uses-permission-sdk-23android:name="android.permission.QUERY_ALL_PACKAGES"/><!-- Supposed to fix bugs with old firmware, only requested on pre Marshmallow -->
<uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE"/><!-- Post background notifications -->
@ -132,7 +131,7 @@ public class AppUpdateManager {
Files.write(compatFile,newbyte[0]);
}catch(
IOExceptione){
e.printStackTrace();
Timber.e(e);
}
// There once lived an implementation that used a GitHub API to get the compatibility flags. It was removed because it was too slow and the API was rate limited.
Timber.w("Remote compatibility data flags are not implemented.");
@ -208,6 +207,7 @@ public class AppUpdateManager {
builder.setTitle(R.string.low_quality_module).setMessage("Actual description for Low-quality module").setCancelable(true).setPositiveButton(R.string.ok,(x,y)->x.dismiss()).show();
@ -452,41 +467,47 @@ public class SettingsActivity extends FoxActivity implements LanguageActivity {
// updateCheckExcludes saves to pref_background_update_check_excludes as a stringset. On clicking, it should open a dialog with a list of all installed modules
Timber.d("Hiding preference "+preferenceName+" because it is null or force hidden");
hideRepoData(preferenceName);
return;
}else{
//noinspection ConstantConditions
Timber.d("Showing preference %s because the forceHide status is %s and the RealmResults is %s",preferenceName,repoData.isForceHide(),repoDataRealmResults.toString());
preference.setTitle(repoData.getName());
preference.setVisible(true);
}
}else{
Timber.d("Hiding preference "+preferenceName+" because it's data is null");
<stringname="installing_update">Installing update…</string><stringname="no_file_found">ERROR: Could not find update package.</string><stringname="check_for_updates">Check for app updates</string><stringname="update_debug_download_pref">Test update download mechanism</string><stringname="changelog_none">No changes yet!</string><stringname="update_cancel_button">Cancel update</string><stringname="invalid_repo_url">The URL you entered for the repo is invalid</string>
<stringname="add_repo_message">Repos must be served over HTTPS, and must follow the spec outlined in the <ahref="https://github.com/Fox2Code/FoxMagiskModuleManager/blob/master/docs/DEVELOPERS.md#custom-repo-format">docs</a>.</string>
<stringname="invalid_repo_url">The URL you entered for the repo is invalid</string>
<stringname="add_repo_message">Repos must be served over HTTPS, and must follow the spec outlined in the documentation.</string>
<stringname="notification_update_summary">The following modules can be updated:</string>
<stringname="notification_update_module_template">%1$s to version %2$s</string>
<stringname="notification_channel_background_update">Checking for updates...</string>
<stringname="notification_channel_background_update_description">FoxMMM is checking for updates in the background.</string><stringname="notification_channel_category_background_update">Background update status</string>
<stringname="notification_channel_category_background_update_description">Shows a notification while checking for updates so the system doesn\'t kill it</string>
<stringname="notification_update_wifi_desc">Only check on WiFi</string>
<stringname="notification_update_wifi_pref">Require wi-fi or an unmetered network for update checks. Recommended to leave on if you have limited mobile data.</string><stringname="background_update_check_excludes_no_modules">No modules installed on device</string><stringname="auto_updates_notifs">Notifies when module updates are found</string><stringname="notification_group_updates">Updates</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>