appium/appium-adb — pull request #28 by rgonalo (2014-07-23 10:35:16+00:00)
Title: Fix some issues in Android 2.3 (API10)

- Fix activity parsing regex in API10
With API >= 15 the actual regex works fine, but in API10 mFocusedApp contains HistoryRecord instead of ActivityRecord, the focused app is not found and Appium fails with 'Error: io.appium.android.apis/.ApiDemos never started. Current: undefined/undefined'
I have already added a new test in Appium to test regex in API10:

- Fix app detection on the device in API10
In API 10, the app is never found on the device and it's always reinstalled. The option '-3' in 'pm list packages' to show only third party packages exists for API15 and above, but not in API10.

- Fix unlock screen in API10
It isn't possible to unlock the screen in API10. The unlock app starts with '-S' option, that only exists for API15 and above.