Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f86cee7c authored by Keith Mok's avatar Keith Mok
Browse files

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
parent b6666263
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment