TeamAmaze / TeamAmaze/AmazeFileManager
isDirectory from amaze cloud called on ui thread
@happys2333 is already working on this.
Since Apr 3, 2022.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Issue explanation (write below this line)
Crash happened when trying to remove hidden files from google drive.
Exception
- App Name: Amaze 文件管理器
- Package: com.amaze.filemanager
- Version: 3.6.7
- User Action: UI Error
- Request: Application crash
- OS: Linux Android 11 - 30
- Device: umi
- Model: Mi 10
- Product: umi
Crash log
`
java.lang.RuntimeException: The methods of CloudRail SI must not be executed on the UI Thread! They involve Thread blocking and network requests.
at com.cloudrail.si.services.GoogleDrive.getMetadata(GoogleDrive.java:1529)
at com.amaze.filemanager.filesystem.HybridFile.isDirectory(HybridFile.java:578)
at com.amaze.filemanager.adapters.HiddenAdapter.lambda$onBindViewHolder$0(HiddenAdapter.java:112)
at com.amaze.filemanager.adapters.HiddenAdapter.lambda$onBindViewHolder$0$HiddenAdapter(Unknown Source:0)
at com.amaze.filemanager.adapters.-$$Lambda$HiddenAdapter$w3dqeqPOt1UdU
Reporter: Frosterx
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.