From 2673cec07a4740f86438b50cfe1b70b258a9a8c8 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 2 Apr 2013 20:22:16 +0000 Subject: Move all AOSP code out of recovery binary Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0 --- gui/hardwarekeyboard.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gui/hardwarekeyboard.cpp') diff --git a/gui/hardwarekeyboard.cpp b/gui/hardwarekeyboard.cpp index 39b02cc17..96958d50a 100644 --- a/gui/hardwarekeyboard.cpp +++ b/gui/hardwarekeyboard.cpp @@ -19,9 +19,8 @@ #include extern "C" { -#include "../common.h" +#include "../twcommon.h" #include "../minuitwrp/minui.h" -#include "../recovery_ui.h" } #include "rapidxml.hpp" @@ -37,7 +36,7 @@ HardwareKeyboard::~HardwareKeyboard() { int HardwareKeyboard::KeyDown(int key_code) { #ifdef _EVENT_LOGGING - LOGE("HardwareKeyboard::KeyDown %i\n", key_code); + LOGERR("HardwareKeyboard::KeyDown %i\n", key_code); #endif PageManager::NotifyKey(key_code); return 0; // 0 = no key repeat anything else turns on key repeat @@ -45,14 +44,14 @@ int HardwareKeyboard::KeyDown(int key_code) { int HardwareKeyboard::KeyUp(int key_code) { #ifdef _EVENT_LOGGING - LOGE("HardwareKeyboard::KeyUp %i\n", key_code); + LOGERR("HardwareKeyboard::KeyUp %i\n", key_code); #endif return 0; } int HardwareKeyboard::KeyRepeat(void) { #ifdef _EVENT_LOGGING - LOGE("HardwareKeyboard::KeyRepeat\n"); + LOGERR("HardwareKeyboard::KeyRepeat\n"); #endif return 0; } -- cgit v1.2.3