Remove obsolete launcher integration and reduce navigation jank

This commit is contained in:
Elijah Kuntz 2026-10-19 14:48:08 -07:00
parent ac0a892c5f
commit 2739b278cd
21 changed files with 394 additions and 129 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python3
"""On-device integration checks. Operates only Luma UI and launches installed apps.
Run with the TV awake. Keeps Projectivy installed as a fallback.
Run with the TV awake and configure Luma Home routing before Home-key checks.
"""
import argparse
import re
@ -98,16 +98,10 @@ if args.part=='navigation':
elif args.part=='home-routing':
start();key(82);tap_text('Default launcher')
text_exists('Home button override: On')
tap_text('Open Projectivy');time.sleep(2)
assert package()=='com.spocky.projengmenu',package()
time.sleep(3)
assert package()=='com.spocky.projengmenu',package()
ok('Explicit Projectivy fallback remains open without a redirect loop')
key(3);time.sleep(1)
assert package()=='tv.luma.launcher',package()
key(4)
for _ in range(5):key(3)
assert package()=='tv.luma.launcher',package()
ok('Home returns from fallback and repeated Home presses stay in Luma')
ok('Repeated Home presses stay in Luma')
adb('shell','am','start','-a','android.settings.SETTINGS');time.sleep(1)
assert package()!='tv.luma.launcher'
key(3);time.sleep(1)
@ -120,8 +114,7 @@ elif args.part=='home-routing':
assert package()=='tv.luma.launcher',package()
ok('Home dismisses the screensaver and returns to the app grid')
assert 'LumaHomeService' in adb('shell','dumpsys','activity','services','tv.luma.launcher')
assert 'com.spocky.projengmenu' in adb('shell','pm','list','packages','-e','com.spocky.projengmenu')
ok('Home override is bound; Projectivy remains enabled')
ok('Home override is bound')
elif args.part=='customization':
start();key(82);tap_text('Appearance')