cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Yellow (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12188) Status Bar is not changing in some specific android phone (Red MI 3s Prime)
Date Thu, 09 Feb 2017 00:28:42 GMT

    [ https://issues.apache.org/jira/browse/CB-12188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15858767#comment-15858767
] 

John Yellow commented on CB-12188:
----------------------------------

I also see this problem in MI 5. It looks like MUI does not use the original statusbar class.
The method setStatusBarColor is inherited which cannot be found by getDeclaredMethod. Change
to getMethod will work.
window.getClass().getMethod("setStatusBarColor", int.class).invoke(window, Color.parseColor(colorPref));

> Status Bar is not changing in some specific android phone (Red MI 3s Prime)
> ---------------------------------------------------------------------------
>
>                 Key: CB-12188
>                 URL: https://issues.apache.org/jira/browse/CB-12188
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: 3.5.0
>            Reporter: Parth Hirpara
>              Labels: Android
>
> Status Bar is not changing in some specific android phone like Red MI 3S prime. Android
Version is 6.0.1.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message