Ignore:
Timestamp:
Jul 2, 2014 2:58:01 AM (10 years ago)
Author:
ming
Message:

Re #1768: move access to MainActivity? class from MyApp? to avoid undefined symbol error when not compiling for Android app

File:
1 edited

Legend:

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

    r4844 r4866  
    495495                Message m = Message.obtain(handler, MSG_TYPE.CALL_STATE, ci); 
    496496                m.sendToTarget(); 
     497                 
     498                if (ci != null && 
     499                        ci.getState() == pjsip_inv_state.PJSIP_INV_STATE_DISCONNECTED) 
     500                { 
     501                        currentCall = null; 
     502                } 
    497503        } 
    498504         
Note: See TracChangeset for help on using the changeset viewer.