Is there a runtime check for an application to find out if it runs as part of an instrumentation test?
Background: Our application performs a database sync when star
Since API Level 11, the ActivityManager.isRunningInTestHarness() method is available. This might do what you want.