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

Commit fb3806d6 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #3271486: SetupWizward NullPointerException in

andriod.app.ActivityThread.performStopActivityInner

Change-Id: Ifce73b7fc48fedb4767d759f70c98fcdee510f36
parent 6b82c266
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -2334,6 +2334,7 @@ public final class ActivityThread {
                }
            }

            if (thumbnail != null) {
                Canvas cv = mThumbnailCanvas;
                if (cv == null) {
                    mThumbnailCanvas = cv = new Canvas();
@@ -2344,6 +2345,7 @@ public final class ActivityThread {
                    mAvailThumbnailBitmap = thumbnail;
                    thumbnail = null;
                }
            }

        } catch (Exception e) {
            if (!mInstrumentation.onException(r.activity, e)) {