On Sunday, April 20, 2014 9:15:07 AM UTC+5:30, Shaul Yermol wrote:
>
> http://developer.android.com/training/scheduling/wakelock.html
>
> On Friday, April 18, 2014 1:38:16 PM UTC+3, Andrew Jones wrote:
>>
>> Hi everyone,
>>
>> After I upload my Android images, I always need to go into "Developer 
>> Options" >> "Stay Awake" to stop my device from going to sleep.
>> We need this option to be activated by default, from the source code.  
>>
>
You can do this using the product-specific overlays.

See the beaglebone product in the rowboat project for an example:
https://gitorious.org/rowboat/vendor-ti-beaglebone/source/b705da2b820f49988979ff50968586674ab81f5e:overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml

-Vishveshwar

>
>> Does anybody know how I can do that?
>> Thanks!!
>>
>> Andrew
>>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to