|
@@ -113,6 +113,11 @@ def change(platform: str, path_dest: str, features: dict, security: dict):
|
|
|
f.write(indented_str(3, "API.openOptionsStreaming();"))
|
|
|
f.write(indented_str(3, "return true;"))
|
|
|
f.write(indented_str(2, "}"))
|
|
|
+ else:
|
|
|
+ f.write(indented_str(2, "// if (id == R.id.action_ls) {"))
|
|
|
+ f.write(indented_str(3, "// API.openOptionsStreaming();"))
|
|
|
+ f.write(indented_str(3, "// return true;"))
|
|
|
+ f.write(indented_str(2, "// }"))
|
|
|
elif "//SECURITY" in line:
|
|
|
if security["show_security"]:
|
|
|
f.write(indented_str(2, "API.setShowSecurityShieldDialog(true);"))
|
|
@@ -139,7 +144,7 @@ def change(platform: str, path_dest: str, features: dict, security: dict):
|
|
|
f.write(indented_str(3, "}"))
|
|
|
f.write(os.linesep)
|
|
|
f.write(indented_str(3, "@Override"))
|
|
|
- f.write(indented_str(3, "public boolean onError(String s) {"))
|
|
|
+ f.write(indented_str(3, "public void onError(String s) {"))
|
|
|
f.write(os.linesep)
|
|
|
f.write(indented_str(3, "}"))
|
|
|
f.write(indented_str(2, "});"))
|
|
@@ -154,7 +159,7 @@ def change(platform: str, path_dest: str, features: dict, security: dict):
|
|
|
f.write(indented_str(3, "}"))
|
|
|
f.write(os.linesep)
|
|
|
f.write(indented_str(3, "@Override"))
|
|
|
- f.write(indented_str(3, "public boolean onError(String s) {"))
|
|
|
+ f.write(indented_str(3, "public void onError(String s) {"))
|
|
|
f.write(os.linesep)
|
|
|
f.write(indented_str(3, "}"))
|
|
|
f.write(indented_str(2, "}); */"))
|