Prevents crash in Android PhoneStateListener if Core is created from a thread that didn't called Looper.prepare() first
liblinphone!2856 (merged)