element-android
element-android copied to clipboard
fix: update local file access permission
Type of change
- [ ] Feature
- [x] Bugfix
- [ ] Technical
- [ ] Other :
Content
Keep local file access permission when we quit and return to a room.
Motivation and context
Fix crash when accessing a local file and permission is revoked. #3616
Screenshots / GIFs
Tests
https://github.com/element-hq/element-android/issues/3616#issuecomment-2037682976
Tested devices
- [x] Physical
- [ ] Emulator
- OS version(s):
Checklist
- [ ] Changes has been tested on an Android device or Android emulator with API 21
- [ ] UI change has been tested on both light and dark themes
- [ ] Accessibility has been taken into account. See https://github.com/element-hq/element-android/blob/develop/CONTRIBUTING.md#accessibility
- [x] Pull request is based on the develop branch
- [x] Pull request includes a new file under ./changelog.d. See https://github.com/element-hq/element-android/blob/develop/CONTRIBUTING.md#changelog
- [ ] Pull request includes screenshots or videos if containing UI changes
- [ ] Pull request includes a sign off
- [ ] You've made a self review of your PR
- [ ] If you have modified the screen flow, or added new screens to the application, you have updated the test UiAllScreensSanityTest.allScreensTest()