appium/appium — pull request #1316 by paymand (2013-10-17 11:32:39+00:00)
Title: Clean the app using 'adb shell pm clear <package-name>'.

The new approach of uninstall/install for fast-resetting is too slow (even with the apk copied to device).
In fact, it takes ~10s on an x86 emulator to install, which is way too slow.
As a workaround, we can use 'adb shell pm clear ' to clean the app.