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());
|
//System.out.println("content://com.android.externalstorage.documents"+file.getPath());
|
||||||
} else {
|
} else {
|
||||||
Toast.makeText(MainScreen.this, getResources().getString(R.string.file_path_fail), Toast.LENGTH_SHORT).show();
|
Toast.makeText(MainScreen.this, getResources().getString(R.string.file_path_fail), Toast.LENGTH_SHORT).show();
|
||||||
finish();
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//System.out.println("User cancelled file browsing {}");
|
//System.out.println("User cancelled file browsing {}");
|
||||||
finish();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -523,7 +521,9 @@ public class MainScreen extends AppCompatActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
profile.setImageDrawable(thumb_d);
|
if(file.exists()) {
|
||||||
|
profile.setImageDrawable(thumb_d);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue