Fixed compatibility with android 14