Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Merge PR #1121: Launcher: stock_home_redirect covers a stock home on screen at boot or on Home, not an HDMI input (#1116)

Gathin233fe49f6efa84
diff --cc launcher/app/src/main/java/com/gathin/tvhome/HomeKeyService.java
index 071e850e3,33ce5caf2..edc3b498b
--- a/launcher/app/src/main/java/com/gathin/tvhome/HomeKeyService.java
+++ b/launcher/app/src/main/java/com/gathin/tvhome/HomeKeyService.java
@@@ -118,13 -121,9 +124,14 @@@ public class HomeKeyService extends Acc
info.eventTypes |= AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED;
setServiceInfo(info);
}
+ if (!stockHome.isEmpty()) probeAtBoot();
holdAppKeys = RemoteKeys.parseHoldAppKeys(config.appKeys);
holdAppScancodes = RemoteKeys.parseHoldAppScancodes(config.appKeys);
+ // gamepad_passthrough, off by default. Only with key_filter on: off, the service never filters keys.
+ if (config.gamepadPassthrough && config.keyFilter && gamepads == null) {
+ gamepads = new GamepadPassthrough(this);
+ gamepads.start();
+ }
}
private boolean isSettingsKey(KeyEvent event) {