Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
97da7f96
Commit
97da7f96
authored
Jan 19, 2022
by
LoveSy
Committed by
John Wu
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not trust format of 3rd party json
parent
2752083d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
LocalModule.kt
...ava/com/topjohnwu/magisk/core/model/module/LocalModule.kt
+3
-0
No files found.
app/src/main/java/com/topjohnwu/magisk/core/model/module/LocalModule.kt
View file @
97da7f96
package
com.topjohnwu.magisk.core.model.module
package
com.topjohnwu.magisk.core.model.module
import
com.squareup.moshi.JsonDataException
import
com.topjohnwu.magisk.core.Const
import
com.topjohnwu.magisk.core.Const
import
com.topjohnwu.magisk.di.ServiceLocator
import
com.topjohnwu.magisk.di.ServiceLocator
import
com.topjohnwu.superuser.Shell
import
com.topjohnwu.superuser.Shell
...
@@ -121,6 +122,8 @@ data class LocalModule(
...
@@ -121,6 +122,8 @@ data class LocalModule(
}
}
}
catch
(
e
:
IOException
)
{
}
catch
(
e
:
IOException
)
{
Timber
.
w
(
e
)
Timber
.
w
(
e
)
}
catch
(
e
:
JsonDataException
)
{
Timber
.
w
(
e
)
}
}
return
false
return
false
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment