配合pc工具的优化

master
Matthew 11 months ago
parent 74fbde81d4
commit 556bd8540b

@ -86,12 +86,16 @@
<service
android:name=".BridgeService"
android:enabled="true"
android:exported="true"></service>
android:exported="true"
></service>
<activity
android:name=".BridgeActivity"
android:exported="true"
android:screenOrientation="landscape" />
android:launchMode="singleInstance"
android:screenOrientation="landscape"
android:process=":bridge_proc" />
<activity
android:name=".video.VideoActivity"
android:exported="false"

@ -106,6 +106,8 @@ public class BridgeActivity extends AppCompatActivity {
}
}
Log.i(TAG, "Import Private Key result=" + (res ? "1" : "0"));
if (!TextUtils.isEmpty(resultFile)) {
FilesUtils.ensureParentDirectoryExisted(resultFile);
FilesUtils.writeTextFile(resultFile, res ? "1" : "0");
@ -246,7 +248,7 @@ public class BridgeActivity extends AppCompatActivity {
Log.i(TAG, "BridgeActivity will finish automatically");
activity.finish();
}
}, 2000);
}, 200);
}
}

Loading…
Cancel
Save