cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-4129) Splashscreen mobile-spec test broken in v2.9 (Android)
Date Tue, 09 Jul 2013 05:39:48 GMT
Peter created CB-4129:
-------------------------

             Summary: 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

Mime
View raw message