diff options
| author | 2010-06-29 16:52:21 -0700 | |
|---|---|---|
| committer | 2010-06-29 16:52:21 -0700 | |
| commit | 0b72e82c5f5d4ab709539c3490d6c7023f680dff (patch) | |
| tree | c0b9adc3370bd600a9dc5bb8f4ffa4e6151d1977 /libs/ui/InputDispatcher.cpp | |
| parent | 5d7f6e614e7ead1fbe40a6886f78c31809bcbd40 (diff) | |
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 'libs/ui/InputDispatcher.cpp')
| -rw-r--r-- | libs/ui/InputDispatcher.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ui/InputDispatcher.cpp b/libs/ui/InputDispatcher.cpp index 0fc29b24f780..8f6d1fe0c0cb 100644 --- a/libs/ui/InputDispatcher.cpp +++ b/libs/ui/InputDispatcher.cpp @@ -232,6 +232,9 @@ void InputDispatcher::processConfigurationChangedLockedInterruptible(      LOGD("processConfigurationChanged - eventTime=%lld", entry->eventTime);  #endif +    // Reset key repeating in case a keyboard device was added or removed or something. +    resetKeyRepeatLocked(); +      mLock.unlock();      mPolicy->notifyConfigurationChanged(entry->eventTime);  |