Hi,
I am trying to change the default screen time out for phone calls. I
have looked through PhoneApp.java and see that there are calls to
PowerManager and LocalPowerManager, which are located in the
frameworks. Unfortunately, I am only able to find references to
default durations, for example:
(from PhoneApp.java)
case MEDIUM:
// Set the poke lock to timeout the display after a
medium
// timeout (15s). This ensures that the screen goes to
sleep
// as soon as acceptably possible after we the wake
lock
// has been released.
pokeLockSetting |=
LocalPowerManager.POKE_LOCK_MEDIUM_TIMEOUT;
break;
(In LocalPowerManager)
public static final int POKE_LOCK_MEDIUM_TIMEOUT = 0x4;
Is the final "0x4" in "POKE_LOCK_MEDIUM_TIMEOUT = 0x4" some reference
to the duration of the timeout? If not, what is it?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---