Check if view is inited when screen rotated
In M, we need to request permission the first time application is use it. And we put that before the creation of the content view. If screen rotated before user confirm the permission dialog box, it will cause onConfigurationChanged to be called, and refreshs the view which is not created yet. Add a null pointer checking to avoid that. FEIJ-1083 Change-Id: Ic3c762e62edef28d4c5d7a7a89fabec3f4324eca (cherry picked from commit f86cee7c)
Loading
Please register or sign in to comment