diff options
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/ImportBackupActivity.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ImportBackupActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ImportBackupActivity.java b/src/main/java/de/pixart/messenger/ui/ImportBackupActivity.java index 8f65e54eb..f60550975 100644 --- a/src/main/java/de/pixart/messenger/ui/ImportBackupActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ImportBackupActivity.java @@ -174,7 +174,7 @@ public class ImportBackupActivity extends XmppActivity implements ServiceConnect intent.putExtra("file", uri.getPath()); } else { intent.setData(uri); - intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); + intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); } setLoadingState(true); ContextCompat.startForegroundService(this, intent); |