Permission Dialog while Screen Orientation change in Android Marshmallow crashing the App -
how handle permission dialog box during screen orientation in android m devices?
in case, after changing screen orientation, , clicking okay button in permission dialog box crashes app.
my workaround situation: once permission dialog box coming, locking screen current orientation (portrait/landscape). when user presses button, unlocking screen.
for locking/unlocking orientation, refer link: android: temporarily disable orientation changes in activity
Comments
Post a Comment