No issue: Make the Startup profiling hints clearer.

This commit is contained in:
mcarare 2022-11-02 19:27:43 +02:00 committed by mergify[bot]
parent 786358c7dd
commit 573e320708
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,9 @@ def push(id, filename):
run(['adb', 'shell', 'am', 'set-debug-app', '--persistent', id])
print('\nStartup profiling enabled on all future start ups, possibly even after reinstall.')
print('Call script with `deactivate` to disable it.')
print('DON\'T FORGET TO ENABLE \'Remote debugging via USB\' IN THE APP SETTINGS!')
print('DISABLE \'Remote debugging via USB\' IN THE APP SETTINGS BEFORE STARTING THE APP & RE-ENABLE TO CAPTURE THE PROFILE.',
'This avoids the additional overhead added when \'Remote debugging via USB\' is enabled during start up.',
sep=os.linesep)
finally:
os.remove(config.name)