INNER CODE UNIT · Python
stop_app
ctripcorp/flybirds · flybirds/core/plugin/plugins/default/step/app.py:55
def stop_app(context):
package_name = gr.get_app_package_name()
g_Context.app.shut_app(package_name)
def return_pre_page(context):
g_Context.element.key_event("4")
def to_app_home(context):
schema_goto_module = gr.get_value("projectScript").custom_operation
to_home = getattr(schema_goto_module, "to_home")
to_home()
def app_login(context, param1, param2):
schema_goto_module = gr.get_value("projectScript").custom_operation
login = getattr(schema_goto_module, "login")