我的解决方案是:在出现权限对话框时,我会将屏幕锁定为当前方向(纵向/横向)。当用户按下按钮时,我会解锁屏幕。要锁定/解锁方向,请参考以下链接: Android: Temporarily disable orientation changes in an Activity