Ticket #376 (closed defect: fixed)
Display doesn't blank after ResourceRequest and ResourceRelease
| Reported by: | struppi | Owned by: | jluebbe |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | framework/ousaged | Version: | |
| Keywords: | Cc: |
Description
After calling ResourceRequest? on Display, the Display doesn't dim and blank (which is just the expected behaviour). Yet, after calling ReleaseResource? the display still doesn't dim or blank even when left idle. Restarting frameworkd makes the display start to dim and blank again.
I'm running http://downloads.freesmartphone.org/fso-stable/milestone5.1/om-gta02/openmoko-fso-image-glibc-ipk--20090223-om-gta02.rootfs.jffs2 and have since updated my system via opkg update && opkg upgrade
Minimal testcase:
"mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.RequestResource? Display"
The display stays bright forever, though the resource should get released implicitly when the mdbus process terminates.
Change History
comment:2 Changed 4 years ago by stefan
Struppi, can you reproduce this with a newer framework? Like MS5.5 or a recent SHR build.

Works for me