Skip to content

Commit a2af392

Browse files
Refactor mpos.ui
1 parent 7e3c01e commit a2af392

File tree

10 files changed

+410
-432
lines changed

10 files changed

+410
-432
lines changed

internal_filesystem/lib/mpos/apps.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66
import mpos.info
77
import mpos.ui
8-
from mpos import Activity, Intent
8+
from mpos.app.activity import Activity
9+
from mpos.content.intent import Intent
910
from mpos.content.pm import PackageManager
11+
# the code uses things like:
12+
# mpos.ui.set_foreground_app(fullname)
13+
# Activity.startActivity(None, Intent(activity_class=main_activity))
1014

1115
def good_stack_size():
1216
stacksize = 24*1024

0 commit comments

Comments
 (0)