Lint fix.

This commit is contained in:
Erik C. Thauvin 2019-09-28 08:59:03 -07:00
parent 3fa65d4b17
commit c526ac4057
2 changed files with 1 additions and 7 deletions

View file

@ -1,7 +0,0 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
<version value="1.0" />
</settings>
</component>

View file

@ -157,6 +157,7 @@ class MainActivity : AppCompatActivity(), AnkoLogger {
}
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
if (requestCode == readRequestCode && resultCode == Activity.RESULT_OK) {
if (data != null) {
importConfigWithPermissionCheck(data)