You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Promote setting_activity from app to framework
This commit is contained in:
@@ -3,12 +3,11 @@ from mpos.apps import Activity, Intent
|
||||
from mpos.activity_navigator import ActivityNavigator
|
||||
|
||||
from mpos.ui.keyboard import MposKeyboard
|
||||
from mpos import PackageManager
|
||||
from mpos import PackageManager, SettingActivity
|
||||
import mpos.config
|
||||
import mpos.ui
|
||||
import mpos.time
|
||||
|
||||
from setting_activity import SettingActivity
|
||||
from calibrate_imu import CalibrateIMUActivity
|
||||
from check_imu_calibration import CheckIMUCalibrationActivity
|
||||
|
||||
|
||||
@@ -13,8 +13,11 @@ from .app.activities.chooser import ChooserActivity
|
||||
from .app.activities.view import ViewActivity
|
||||
from .app.activities.share import ShareActivity
|
||||
|
||||
from .ui.setting_activity import SettingActivity
|
||||
|
||||
__all__ = [
|
||||
"App", "Activity", "ConnectivityManager", "DownloadManager", "Intent",
|
||||
"ActivityNavigator", "PackageManager", "TaskManager",
|
||||
"ChooserActivity", "ViewActivity", "ShareActivity"
|
||||
"ChooserActivity", "ViewActivity", "ShareActivity",
|
||||
"SettingActivity"
|
||||
]
|
||||
|
||||
@@ -14,6 +14,7 @@ from .display import (
|
||||
)
|
||||
from .event import get_event_name, print_event
|
||||
from .util import shutdown, set_foreground_app, get_foreground_app
|
||||
from .setting_activity import SettingActivity
|
||||
|
||||
__all__ = [
|
||||
"setContentView", "back_screen", "remove_and_stop_current_activity", "remove_and_stop_all_activities"
|
||||
@@ -26,5 +27,6 @@ __all__ = [
|
||||
"min_resolution", "max_resolution",
|
||||
"get_pointer_xy",
|
||||
"get_event_name", "print_event",
|
||||
"shutdown", "set_foreground_app", "get_foreground_app"
|
||||
"shutdown", "set_foreground_app", "get_foreground_app",
|
||||
"SettingActivity"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user