Skip to content

Commit 9a036bb

Browse files
committed
added wakelock option for sdl2 bootstrap
1 parent d891395 commit 9a036bb

File tree

1 file changed

+3
-0
lines changed
  • pythonforandroid/bootstraps/sdl2/build

1 file changed

+3
-0
lines changed

pythonforandroid/bootstraps/sdl2/build/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@ def parse_args(args=None):
333333
ap.add_argument('--presplash', dest='presplash',
334334
help=('A jpeg file to use as a screen while the '
335335
'application is loading.'))
336+
ap.add_argument('--wakelock', dest='wakelock', action='store_true',
337+
help=('Indicate if the application needs the device '
338+
'to stay on'))
336339

337340
if args is None:
338341
args = sys.argv[1:]

0 commit comments

Comments
 (0)