Android: Slightly improve scoped storage error message

This commit is contained in:
Connor McLaughlin 2020-10-08 18:32:38 +10:00
parent 6a4a47fbdf
commit db6a9b4ab5

View file

@ -180,9 +180,9 @@ public class MainActivity extends AppCompatActivity {
if (path.length() < 5) { if (path.length() < 5) {
new AlertDialog.Builder(this) new AlertDialog.Builder(this)
.setTitle("Error") .setTitle("Error")
.setMessage("Failed to get path for the selected directory. Please make sure the directory is in external storage.\n" + .setMessage("Failed to get path for the selected directory. Please make sure the directory is in internal/external storage.\n\n" +
"Tap the overflow button in the directory selector.\nSelect \"Show Internal Storage\".\n" + "Tap the overflow button in the directory selector.\nSelect \"Show Internal Storage\".\n" +
"Tap the menu button and select your device name.") "Tap the menu button and select your device name or SD card.")
.setPositiveButton("OK", (dialog, button) -> {}) .setPositiveButton("OK", (dialog, button) -> {})
.create() .create()
.show(); .show();