Probably a question for the Android team as to which is better.  I do have
to wonder a bit how this app works? For instance, if it crashes, or if
monkey decides to close it, would it stop working?

On Tue, Apr 10, 2012 at 5:05 PM, Andy Doan <[email protected]> wrote:

> The Android team has a new app that can disable suspend on a device:
>
> http://lists.linaro.org/**pipermail/linaro-android/2012-**
> April/000723.html<http://lists.linaro.org/pipermail/linaro-android/2012-April/000723.html>
>
> It can be enabled with commands like:
>
> am start -W -a android.intent.action.MAIN -n \
>  com.android.disablesuspend/.**DisableSuspendActivity
> input keyevent 61  #key code for <TAB>
> input keyevent 66  #key code for <Enter>
>
> Looking at the changes we made to support this[1], I wonder if this new
> method is safer. On the one hand this requires a change, and the change
> requires us to start an application. This seems slower. On the other hand,
> we are currently making sqlite3 calls and such that seem a bit dangerous.
>
> Thoughts?
>
> 1: http://bazaar.launchpad.net/~**linaro-validation/lava-**
> dispatcher/trunk/revision/196<http://bazaar.launchpad.net/%7Elinaro-validation/lava-dispatcher/trunk/revision/196>
>
> ______________________________**_________________
> linaro-validation mailing list
> linaro-validation@lists.**linaro.org <[email protected]>
> http://lists.linaro.org/**mailman/listinfo/linaro-**validation<http://lists.linaro.org/mailman/listinfo/linaro-validation>
>
_______________________________________________
linaro-validation mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to