Skip to content

Commit

Permalink
intent crash fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
professional-lalit committed Feb 4, 2020
1 parent 5a32cb2 commit 5d07c7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .idea/sonarIssues.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ class HomeActivity : AppCompatActivity() {
fileList.addAll(bundle?.getSerializable("file-list") as ArrayList<CustomFileModel>)
for (file in fileList) {
val libFile = LibFile(file.toUri(), true, file.name, 0, 0)
if (!mPageViewModel.fileList.value!!.contains(libFile))
mPageViewModel.addFile(libFile)
mPageViewModel.addFile(libFile)
}
setResult(resultCode)
}
Expand Down

0 comments on commit 5d07c7b

Please sign in to comment.