mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-12 03:17:58 -04:00
Merge pull request #170 from brarcher/file-picker
Remove file:// Uri from backup file picker
This commit is contained in:
@@ -85,7 +85,6 @@ public class ImportExportActivity extends AppCompatActivity
|
||||
|
||||
// Check that there is an activity that can bring up a file chooser
|
||||
final Intent intentPickAction = new Intent(Intent.ACTION_PICK);
|
||||
intentPickAction.setData(Uri.parse("file://"));
|
||||
|
||||
Button importFilesystem = (Button) findViewById(R.id.importOptionFilesystemButton);
|
||||
importFilesystem.setOnClickListener(new View.OnClickListener()
|
||||
|
||||
@@ -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