No issue: Make the Startup profiling hints clearer.
This commit is contained in:
parent
786358c7dd
commit
573e320708
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue