Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent unnecessary free disk calculations on initialisation #409

Merged
merged 2 commits into from
Jan 14, 2019

Commits on Jan 9, 2019

  1. fix: prevent unnecessary free disk calculations

    on initialisation calculateFreeDisk was indirectly invoked, which performs IO on the main thread.
    This change avoids calls to getDeviceData() which would trigger these calculations, and adds getters
    for the necessary fields instead. This stops StrictMode violations being reported when initialising
    the SDK.
    fractalwrench committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    6e0c173 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e0e708 View commit details
    Browse the repository at this point in the history