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

Commit 341acd7c authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Fixes NPE crash when VRI#setView fail before input stage was create."

parents 291407f9 f1a57407
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1257,7 +1257,7 @@ public final class ViewRootImpl implements ViewParent,
                    mTmpFrames.attachedFrame = attachedFrame;
                    mTmpFrames.sizeCompatScale = sizeCompatScale[0];
                    mInvSizeCompatScale = 1f / sizeCompatScale[0];
                } catch (RemoteException e) {
                } catch (RemoteException | RuntimeException e) {
                    mAdded = false;
                    mView = null;
                    mAttachInfo.mRootView = null;