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

Commit 880158b8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove exception from getInputDeviceId API" into main

parents efab0d40 cfe037f6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -55,9 +55,6 @@ abstract class VirtualInputDevice implements Closeable {
    @FlaggedApi(com.android.hardware.input.Flags.FLAG_CREATE_VIRTUAL_KEYBOARD_API)
    @SystemApi
    public int getInputDeviceId() {
        if (!com.android.hardware.input.Flags.createVirtualKeyboardApi()) {
            throw new UnsupportedOperationException("Required flag is not enabled");
        }
        try {
            return mVirtualInputDevice.getInputDeviceId();
        } catch (RemoteException e) {