Add comment about the method showMoreMenuItem() in EndToEndTestUtils.java. Remove android:icon statement in manifest.xml for it causes a error (This error can be reproduced by run aapt dump badging MyTracksTest.apk in command line) when I try to run it on mobile harness (Test devices lab) and it seems work well after I remove it.

This commit is contained in:
youtaol
2012-07-13 15:29:03 +08:00
parent 257de5a836
commit cee6a5bbd0
2 changed files with 4 additions and 2 deletions
-1
View File
@@ -28,7 +28,6 @@ limitations under the License.
android:targetSdkVersion="15" />
<application
android:icon="@android:drawable/sym_def_app_icon"
android:label="My Tracks Tests" >
<uses-library android:name="android.test.runner" />
</application>
@@ -565,7 +565,10 @@ public class EndToEndTestUtils {
}
/**
* Gets more menu items operation is different for different Android OS.
* Gets more menu items operation is different for different Android OS. When
* get overflow button view on action, it usually be able to click. But in
* some situation, will meet an error when click it. So catch it and try
* again. In most situation, the second click will be pass.
*
* @param depth control the depth of recursion to prevent dead circulation
*/