mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-24 06:48:10 -05:00
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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user