Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. private TimerTask linphoneTimerTask()
  2. {
  3. android.util.Log.i("LP_CONNECT", "start iterate linphone");
  4. return new TimerTask() {
  5. @Override
  6. public void run() {
  7. UIThreadDispatcher.dispatch(new Runnable() {
  8. @Override
  9. public void run() {
  10. try {
  11. if (mLc != null) {
  12. mLc.iterate();
  13. }
  14. } catch (Exception e) {
  15. e.printStackTrace();
  16. }
  17. }
  18. });
  19. }
  20. };
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement