Remove some unused apps

The step counter app is special-cased in wasp.py. Remove that as well.
This commit is contained in:
Peter Cai 2022-06-14 22:16:57 -04:00
parent f4ad9fb4cd
commit 402a02e3aa
2 changed files with 0 additions and 12 deletions

View File

@ -12,8 +12,6 @@ manifest = (
'apps/faces.py',
'apps/fibonacci_clock.py',
'apps/flashlight.py',
'apps/gallery.py',
'apps/haiku.py',
'apps/heart.py',
'apps/musicplayer.py',
'apps/launcher.py',
@ -21,11 +19,8 @@ manifest = (
'apps/play2048.py',
'apps/settings.py',
'apps/software.py',
'apps/sports.py',
'apps/steps.py',
'apps/stopwatch.py',
'apps/snake.py',
'apps/testapp.py',
'apps/timer.py',
'apps/weather.py',
'apps/week_clock.py',

View File

@ -24,7 +24,6 @@ import widgets
from apps.launcher import LauncherApp
from apps.pager import PagerApp, CrashApp, NotificationApp
from apps.steps import StepCounterApp
RAISE_WAKE_Y_SWITCH_THRESHOLD = -1536
RAISE_WAKE_SPEED_MODIFIER = 8
@ -207,12 +206,6 @@ class Manager():
if not app:
return
# "Special case" for watches that have working step counters!
# More usefully it allows other apps to detect the presence/absence
# of a working step counter by looking at wasp.system.steps .
if isinstance(app, StepCounterApp):
self.steps = steplogger.StepLogger(self)
if watch_face:
self.quick_ring[0] = app
elif quick_ring: