We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9af9fa commit 32ada42Copy full SHA for 32ada42
recipes/android/src/android/broadcast.py
@@ -35,15 +35,8 @@ def _expand_partial_name(partial_name):
35
36
# resolve actions/categories first
37
Intent = autoclass('android.content.Intent')
38
- resolved_actions = []
39
- if actions:
40
- for x in actions:
41
- resolved_actions += [_expand_partial_name(x)]
42
-
43
- resolved_categories = []
44
- if categories:
45
- for x in categories:
46
- resolved_categories += [_expand_partial_name(x)]
+ resolved_actions = [_expand_partial_name(x) for x in actions]
+ resolved_categories = [_expand_partial_name(x) for x in categories]
47
48
# resolve android API
49
PythonActivity = autoclass('org.renpy.android.PythonActivity')
0 commit comments