Commit b71f7437 by sikang

update script

parent ce1a8b04
......@@ -150,7 +150,7 @@ def code_certifyprogress(path):
#2
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\tstartFragment(accountFragment, false);\n"
line = line + code
......@@ -192,3 +192,6 @@ for root, dirs, files in os.walk("../../../app/src/main"):
elif file.endswith("CertifyProgressActivity.java"):
path = os.path.join(directory, file)
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