Diego,

This is something I need to track down as well..but for now, you can
set "setprop hw.nopm true" in your init.rc file and that will get your
touch events and keypresses working..

-- Ashwin



On Thu, Apr 28, 2011 at 10:12 AM, Diego <[email protected]> wrote:
> On Apr 28, 12:59 pm, Diego <[email protected]> wrote:
>> Uncommenting some log messages in preprocessEvent in
>> WindowManagerService.java I found out that the culprit was this line:
>>
>> boolean screenIsOff = !mPowerManager.isScreenOn();
>>
>> screenIsOff is true (yes, mPowerManager.isScreenOn() returns false
>> even if my screen is on), so preprocessEvent returns false because it
>> thinks the screen is off.
>> In conclusion I'm missing something in PowerManagerService.java or I
>> haven't implemented something that is required for my platform. Can
>> anybody point me to some resources to Android Power Management
>> internals or give me some hints of where to look at?
>>
>
> Maybe I'm missing something in my kernel... I'll check:
> http://groups.google.com/group/android-porting/browse_thread/thread/183025b121d4148c/26cb5bc3229afb7d?#26cb5bc3229afb7d
>
> Regards,
> Diego
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to