[ 
https://issues.apache.org/jira/browse/CB-4129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-4129.
----------------------------

    Resolution: Not A Problem

For the splashscreen to work, you have to actually specify a splashscreen in 
your project.  This is a pre-requisite for anyone running this test in 
MobileSpec.
                
> Splashscreen mobile-spec test broken in v2.9 (Android)
> ------------------------------------------------------
>
>                 Key: CB-4129
>                 URL: https://issues.apache.org/jira/browse/CB-4129
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, mobile-spec
>    Affects Versions: 2.9.0
>         Environment: Galaxy Nexus emulator
>            Reporter: Peter
>            Assignee: Joe Bowser
>            Priority: Minor
>
> The cordova-mobile-spec manual splashscreen test doesn't work anymore.
> In v2.7.0 the screen would go black for 1 or 5 seconds. In v2.9 nothing 
> happens at all.
> I think the problem is introduced by this line in CordovaActivity.java:
> {code}
> root.setBackgroundResource(that.splashscreen);
> {code}
> The mobile-spec test does not have any special splashscreen resource 
> configured so the default is 0.
> But 0 has a special meaning for setBackgroundResource
> http://developer.android.com/reference/android/view/View.html#setBackgroundResource%28int%29

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to