Fix an event injection bug when the policy is bypassed.
Added the concept of a "trusted" event to distinguish between events from attached input devices or trusted injectors vs. other applications. This change enables us to move certain policy decisions out of the dispatcher and into the policy itself where they can be handled more systematically. Change-Id: I4d56fdcdd31aaa675d452088af39a70c4e039970
This commit is contained in:
@@ -358,11 +358,6 @@ public class InputManager {
|
||||
private static final String EXCLUDED_DEVICES_PATH = "etc/excluded-input-devices.xml";
|
||||
private static final String CALIBRATION_DIR_PATH = "usr/idc/";
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public void virtualKeyDownFeedback() {
|
||||
mWindowManagerService.mInputMonitor.virtualKeyDownFeedback();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public void notifyConfigurationChanged(long whenNanos) {
|
||||
mWindowManagerService.sendNewConfiguration();
|
||||
|
||||
Reference in New Issue
Block a user