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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to