From db19e463fe5a4e00a0214c564527ba67f31e1afb Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Tue, 8 Apr 2014 19:55:38 -0700 Subject: [PATCH] Remove unnecessary policy flags. Bug: 13133142 Change-Id: Ib6c63ebad25d84f78623b4a46ccf83953d235fe7 --- include/input/Input.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/include/input/Input.h b/include/input/Input.h index bb5ceaf20..077a03bf2 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -178,13 +178,9 @@ enum { /* These flags are set by the input reader policy as it intercepts each event. */ - // Indicates that the screen was off when the event was received and the event - // should wake the device. - POLICY_FLAG_WOKE_HERE = 0x10000000, - - // Indicates that the screen was dim when the event was received and the event - // should brighten the device. - POLICY_FLAG_BRIGHT_HERE = 0x20000000, + // Indicates that the device was in an interactive state when the + // event was intercepted. + POLICY_FLAG_INTERACTIVE = 0x20000000, // Indicates that the event should be dispatched to applications. // The input event should still be sent to the InputDispatcher so that it can see all