android
android copied to clipboard
Checking the available space when taking a photo from the camera
Is your feature request related to a problem? Please describe. When we are going to upload a photo from the camera, before performing this operation the application checks if there is space on the device's sd-card (Device Explorer).
This check is done in the getUsableSpace() function, which compares the bytes available in this path with the bytes of the photo taken.
We really don't know exactly why this is being done in the code and the Scope Storage is not being used, which is where we think the logic should go.
The development to check the available space is in the following class: CheckAvailableSpaceTask.
It needs some research.
TASKS
- [ ] Research (if needed)
- [ ] Create branch feature/feature_name
- [ ] Development tasks
- [ ] Implement whatever
- [ ] ...
- [ ] Implement unit tests (if needed)
- [ ] Code review and apply changes requested
- [ ] Design test plan
- [ ] QA
- [ ] Merge branch feature/feature_name into master