Re: [android-kernel] Re: [android-porting] [PM] about late resume, when PowerManagerService write on to /sys/power/state to call late resume?

2010-04-20 Thread Dianne Hackborn
On Wed, Apr 14, 2010 at 3:46 PM, Deva R wrote: > Note that in android (for that matter, universally in java) java > applications cant access system resources (sys/power/state file in this > case) directly, as they have to bypass VM (dalvik in android). > Sorry, that isn't true. If the process r

[android-kernel] Re: [android-porting] [PM] about late resume, when PowerManagerService write on to /sys/power/state to call late resume?

2010-04-14 Thread Deva R
>> when the PowerManagerService( >>PowerManagerSerivce.java) write "on" to /sys/power/state (using SetScreenState(true) ), Note that in android (for that matter, universally in java) java applications cant access system resources (sys/power/state file in this case) directly, as they have to bypass