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

Commit 2b3248ac authored by Aaron Kling's avatar Aaron Kling
Browse files

ATV Keyhandler: Launch pairing intent in no input mode

This allows pairing a remote without an existing input device

Change-Id: Ia563c2cf3bb152832647f29ccbf93ff8f595d964
parent 847c93de
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ public class KeyHandler implements DeviceKeyHandler {
        } 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);
            launchIntent.putExtra("no_input_mode", true);
        } else {
            launchIntent = mContext.getPackageManager()
                    .getLaunchIntentForPackage(packageName);