We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d577c95 commit 04094e0Copy full SHA for 04094e0
projects/sample/source/sample-host/src/main/java/com/tencent/shadow/sample/host/PluginHelper.java
@@ -74,6 +74,10 @@ public void run() {
74
75
private void preparePlugin() {
76
try {
77
+
78
+ //noinspection ResultOfMethodCallIgnored
79
+ pluginManagerFile.setWritable(true);
80
81
InputStream is = mContext.getAssets().open(sPluginManagerName);
82
FileUtils.copyInputStreamToFile(is, pluginManagerFile);
83
0 commit comments