You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/07/11 08:39:49 UTC

[jira] [Reopened] (CB-4129) Splashscreen mobile-spec test broken in v2.9 (Android)

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

Peter reopened CB-4129:
-----------------------

    
> 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