wordpress-mobile / wordpress-mobile/WordPress-Android

Fix/improve available space calculation in DeviceUtils

Open
#7,777 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Broken Window Support
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

We have added a method for calculating the available space in DeviceUtils for Zendesk. At the time of the creation of this issue, it's not yet merged into develop yet. It seems to be returning a different value than what the Settings app returns as noted here. It'd be great if we can find a way to fix that or at least find out the reason for it and document it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the available-space method in DeviceUtils and the differences noted in pull request #7739. Compare its result with the Android Settings app, determine why the values differ, and either correct the calculation or document the reason for the discrepancy.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.