Ignore:
Timestamp:
Jul 3, 2014 9:43:19 AM (10 years ago)
Author:
bennylp
Message:

Misc re #1751: changing Android java's String.isEmpty() to String.length()==0 for better portability since the former is only available on API level 9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/java/android/src/org/pjsip/pjsua2/app/MyApp.java

    r4866 r4870  
    180180                        if (bi.getPresStatus().getStatus() == pjsua_buddy_status.PJSUA_BUDDY_STATUS_ONLINE) { 
    181181                                status = bi.getPresStatus().getStatusText(); 
    182                                 if (status == null || status.isEmpty()) { 
     182                                if (status == null || status.length()==0) { 
    183183                                        status = "Online"; 
    184184                                } 
Note: See TracChangeset for help on using the changeset viewer.