Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f78e0d73 authored by Aaron Kling's avatar Aaron Kling
Browse files

ATV Keyhandler: Add support for pairing intent

Change-Id: I5cd62bcffcec12133b5e2c60aba7321887c96581
parent e65acf30
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -78,6 +78,9 @@ public class KeyHandler implements DeviceKeyHandler {
        } else if (packageName.equals("com.android.tv.settings")) {
            launchIntent = new Intent("android.settings.SETTINGS");
            launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        } else if (packageName.equals("com.google.android.intent.action.CONNECT_INPUT")) {
            launchIntent = new Intent("com.google.android.intent.action.CONNECT_INPUT");
            launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        } else {
            launchIntent = mContext.getPackageManager()
                    .getLaunchIntentForPackage(packageName);