-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix NPE on LoadFilesListTask#listTrashBinFiles #4224
Conversation
app/src/main/java/com/amaze/filemanager/asynchronous/asynctasks/LoadFilesListTask.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malirauf thanks for your interest in contributing to Amaze! I've some changes to be done, please see the reviews.
@@ -1863,7 +1863,7 @@ public TrashBinFile toTrashBinRestoreFile(Context context) { | |||
TrashBin trashBin = AppConfig.getInstance().getTrashBinInstance(); | |||
for (TrashBinFile trashBinFile : trashBin.listFilesInBin()) { | |||
if (trashBinFile.getDeletedPath(trashBin.getConfig()).equals(path)) { | |||
// finding path to restore to | |||
// finding path to restore tof |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Description
NPE on LoadFilesListTask#listTrashBinFiles
Issue tracker
Fixes #4142