Do we consider compatibility? I think if the app is available in all Android variant, we can use it.

On 11 April 2012 10:18, Paul Larson <paul.larson@linaro.org> wrote:
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 <andy.doan@linaro.org> 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

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

_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-validation


_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-validation




--
Best wishes,
Spring Zhang