open the proper folder at selecting a target one

This commit is contained in:
tibbi 2016-09-04 22:44:42 +02:00
parent 3ed2fc8d8a
commit 40a41bcff6

View file

@ -530,7 +530,8 @@ public class ItemsFragment extends android.support.v4.app.Fragment
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == SELECT_FOLDER_REQUEST && resultCode == Activity.RESULT_OK && data != null) {
mDestinationView.setText(data.getStringExtra(SELECT_FOLDER_PATH));
mCopyDestinationPath = data.getStringExtra(SELECT_FOLDER_PATH);
mDestinationView.setText(mCopyDestinationPath);
}
super.onActivityResult(requestCode, resultCode, data);
}