appium/appium — pull request #1297 by bootstraponline (2013-10-09 14:34:30+00:00)
Title: Android mobile :reset now uses pm install

The old clean.apk approach to resetting state doesn't work well. Using
instrumentation means the app is running when the data is deleted. It's better
to use the standard adb install/uninstall commands.

To make this faster, the apk is pushed to the device once (/data/local/tmp/) and
then installed from that location on each reset. Using the regular adb install
command is slow due to the file transfer speed.