bug gfix
This commit is contained in:
parent
68f8f1969e
commit
ac750a105f
1 changed files with 3 additions and 3 deletions
|
@ -481,11 +481,9 @@ public class MainScreen extends AppCompatActivity {
|
|||
//System.out.println("content://com.android.externalstorage.documents"+file.getPath());
|
||||
} else {
|
||||
Toast.makeText(MainScreen.this, getResources().getString(R.string.file_path_fail), Toast.LENGTH_SHORT).show();
|
||||
finish();
|
||||
}
|
||||
} else {
|
||||
//System.out.println("User cancelled file browsing {}");
|
||||
finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -523,7 +521,9 @@ public class MainScreen extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
if(file.exists()) {
|
||||
profile.setImageDrawable(thumb_d);
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue