Commit b71f7437 by sikang

update script

parent ce1a8b04
...@@ -150,7 +150,7 @@ def code_certifyprogress(path): ...@@ -150,7 +150,7 @@ def code_certifyprogress(path):
#2 #2
if "startFragment(AccountFragment.create(), false);" in line : if "startFragment(AccountFragment.create(), false);" in line :
code = "\n\t\t\t\tAccountFragment accountFragment = AccountFragment.create();\n" + \ code = "\t\t\t\tAccountFragment accountFragment = AccountFragment.create();\n" + \
"\t\t\t\taccountFragment.setArguments(getIntent().getExtras());\n" + \ "\t\t\t\taccountFragment.setArguments(getIntent().getExtras());\n" + \
"\t\t\t\tstartFragment(accountFragment, false);\n" "\t\t\t\tstartFragment(accountFragment, false);\n"
line = line + code line = line + code
...@@ -192,3 +192,6 @@ for root, dirs, files in os.walk("../../../app/src/main"): ...@@ -192,3 +192,6 @@ for root, dirs, files in os.walk("../../../app/src/main"):
elif file.endswith("CertifyProgressActivity.java"): elif file.endswith("CertifyProgressActivity.java"):
path = os.path.join(directory, file) path = os.path.join(directory, file)
code_certifyprogress(path) code_certifyprogress(path)
elif file.endswith("MessageID.java"):
path = os.path.join(directory, file)
code_messageid(path)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment