sassernetsky / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

ViewFetcher, getRecentDecorView fails on Samsung S4 with MultiWindow support #600

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Application manifest should contains
<uses-library android:name="com.sec.android.app.multiwindow" 
android:required="false"/>
<meta-data android:name="com.sec.android.support.multiwindow" 
android:value="true" />

2. Devices should support Samsung MultiWindows libraries (i.e. Galaxy S3, S4, 
...; Galaxy Note)

What is the expected output? What do you see instead?

1. ViewFetcher.getRecentDecorView return null, instead of view.

2. ViewFetcher.getRecentDecorView fails on lines 126-127, due to view object 
has another class, i.e.
com.android.internal.policy.impl.MultiPhoneWindow$MultiPhoneDecorView instead 
of com.android.internal.policy.impl.PhoneWindow$DecorView

What version of the product are you using? On what operating system?
Samsung S4, Android API 19, KitKat; Robotium 5.1

Original issue reported on code.google.com by bychkov....@gmail.com on 5 May 2014 at 7:01

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. It will be fixed in the next release. 

Original comment by renasr...@gmail.com on 5 May 2014 at 8:12

GoogleCodeExporter commented 9 years ago
Thanks again for reporting this. This has been fixed in Robotium 5.2.1

Original comment by renasr...@gmail.com on 18 Jun 2014 at 3:12