This reverts commit3954fd9a05, which is equivalent to re-applying8a1597b396. The change ("Take the input device into account for meta state") was valid but caused CTS test failures because the test was wrong. The test injected a key event with the meta state missing. This faulty test was masked by the old toggle behavior.