We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10fc8f3 commit f030a5fCopy full SHA for f030a5f
internal_filesystem/lib/mpos/apps.py
@@ -159,7 +159,7 @@ def find_main_launcher_activity(app):
159
def is_launcher(app_name):
160
print(f"checking is_launcher for {app_name}")
161
# Simple check, could be more elaborate by checking the MANIFEST.JSON for the app...
162
- return "launcher" in app_name
+ return "launcher" in app_name or len(mpos.ui.screen_stack) < 2 # assumes the first one on the stack is the launcher
163
164
165
class App:
0 commit comments