Remove file:// Uri from backup file picker

On Android SDK 24+ exposing a file Uri causes a failure.
Picking a file from a file chooser using data of a file://
Uri also hits this. As this is not necessary, removing the
Uri.
This commit is contained in:
Branden Archer
2017-12-31 15:53:57 -05:00
parent 858e317d8f
commit 52c41f4c49
2 changed files with 0 additions and 5 deletions

View File

@@ -40,10 +40,6 @@ public class ImportExportActivityTest
info.activityInfo.exported = true;
Intent intent = new Intent(handler);
if(handler.equals(Intent.ACTION_PICK))
{
intent.setData(Uri.parse("file://"));
}
if(handler.equals(Intent.ACTION_GET_CONTENT))
{