Skip to content

Conversation

@ewpatton
Copy link
Member

Change-Id: Id7fcc397b62ac45dd75d26db5a5ed67779cefbc3

General items:

If your code changes how something works on the device (i.e., it affects the companion):

  • I branched from ucr
  • My pull request has ucr as the base

What does this PR accomplish?

This PR addresses an issue where context.getExternalFilesDir(String) returns null in some cases. If null is returned, we assume external storage is not available and switch to using the private storage directory instead. The issue was originally reported on the community where the companion app was unable to even start due to the exception being thrown on app startup.

Change-Id: Id7fcc397b62ac45dd75d26db5a5ed67779cefbc3
Copy link
Member

@jisqyv jisqyv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jisqyv jisqyv added on ai2-test Code is deployed on ai2-test.appinventor.mit.edu for-ai2-test labels Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: ucr android bug for-ai2-test on ai2-test Code is deployed on ai2-test.appinventor.mit.edu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants