android/linux event improvements