diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-06-29 16:52:21 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-06-29 16:52:21 -0700 |
commit | 0b72e82c5f5d4ab709539c3490d6c7023f680dff (patch) | |
tree | c0b9adc3370bd600a9dc5bb8f4ffa4e6151d1977 /services | |
parent | 5d7f6e614e7ead1fbe40a6886f78c31809bcbd40 (diff) | |
download | frameworks_base-0b72e82c5f5d4ab709539c3490d6c7023f680dff.zip frameworks_base-0b72e82c5f5d4ab709539c3490d6c7023f680dff.tar.gz frameworks_base-0b72e82c5f5d4ab709539c3490d6c7023f680dff.tar.bz2 |
Fix native input dispatch in the emulator.
Set a default orientation of ROTATION_0.
Added some more careful checks based on whether we have valid
absolute axis information from the driver.
Reset key repeating during configuration changes since the keyboard
device may have been removed.
Change-Id: I685960828acffcb17595fc5683309e8064a76714
Diffstat (limited to 'services')
-rw-r--r-- | services/jni/com_android_server_InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/jni/com_android_server_InputManager.cpp b/services/jni/com_android_server_InputManager.cpp index 0106e6c..7f245f3 100644 --- a/services/jni/com_android_server_InputManager.cpp +++ b/services/jni/com_android_server_InputManager.cpp @@ -395,7 +395,7 @@ private: NativeInputManager::NativeInputManager(jobject callbacksObj) : mFilterTouchEvents(-1), mFilterJumpyTouchEvents(-1), - mDisplayWidth(-1), mDisplayHeight(-1), mDisplayOrientation(-1), + mDisplayWidth(-1), mDisplayHeight(-1), mDisplayOrientation(ROTATION_0), mDispatchEnabled(true), mDispatchFrozen(false), mWindowsReady(true), mFocusedWindow(NULL), mTouchDown(false), mTouchedWindow(NULL), mFocusedApplication(NULL) { |