cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lazza <...@git.apache.org>
Subject [GitHub] cordova-plugin-statusbar pull request #77: CB-10879: (android) Enable overla...
Date Mon, 27 Feb 2017 09:21:39 GMT
Github user Lazza commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-statusbar/pull/77#discussion_r103163253
  
    --- Diff: src/android/StatusBar.java ---
    @@ -142,6 +142,23 @@ public void run() {
                 return true;
             }
     
    +        if ("overlaysWebView".equals(action)) {
    +            if (Build.VERSION.SDK_INT >= 21) {
    --- End diff --
    
    This one is used to check the return value of the method, the one on line 186 is used
to isolate API 21+ code, so that the compiler handles it correctly and doesn't complain about
it when building for older versions of Android.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message