mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 05:52:52 +00:00
Merge pull request #832 from strugee/upgrade-android-gradle-plugin
Upgrade Android Gradle plugin
This commit is contained in:
commit
d65982aaa1
4 changed files with 4 additions and 3 deletions
|
@ -37,6 +37,7 @@ android {
|
|||
lintOptions {
|
||||
abortOnError true
|
||||
disable "MissingTranslation"
|
||||
checkDependencies true
|
||||
}
|
||||
|
||||
testOptions {
|
||||
|
|
|
@ -103,7 +103,7 @@ public class BackupsPreferencesFragment extends PreferencesFragment {
|
|||
return;
|
||||
}
|
||||
|
||||
int flags = data.getFlags() & (Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
|
||||
int flags = Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
|
||||
getContext().getContentResolver().takePersistableUriPermission(data.getData(), flags);
|
||||
|
||||
Preferences prefs = getPreferences();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue