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

Commit 54fef7af authored by Mark Renouf's avatar Mark Renouf Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in onDestroy() when launched without args"

parents 638e4594 da5eebde
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -901,7 +901,8 @@ public class ResolverActivity extends Activity implements
        if (!isChangingConfigurations() && mPickOptionRequest != null) {
            mPickOptionRequest.cancel();
        }
        if (mMultiProfilePagerAdapter.getActiveListAdapter() != null) {
        if (mMultiProfilePagerAdapter != null
                && mMultiProfilePagerAdapter.getActiveListAdapter() != null) {
            mMultiProfilePagerAdapter.getActiveListAdapter().onDestroy();
        }
    }