Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Launcher: launch_actions sends NEW_TASK only
Marcin Woźniak1f86615c70e8
diff --git a/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.java b/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.javaindex d55717cba..0b32b9508 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.java@@ -462,8 +462,9 @@ public class AppAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {if (leanbackPackages.contains(e.pkg)) i.addCategory(Intent.CATEGORY_LEANBACK_LAUNCHER);String action = launchActions.get(e.pkg);if (action != null) {- Intent byAction = new Intent(action).setPackage(e.pkg)- .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);+ // NEW_TASK only: with RESET_TASK_IF_NEEDED, Android just brings a running task of the app to the front+ // ("Activity not started"), so the screen never opens while the app is up, e.g. MagentaTV's boot-time task.+ Intent byAction = new Intent(action).setPackage(e.pkg).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);if (ctx.getPackageManager().resolveActivity(byAction, 0) != null) i = byAction;}try {