Loading
viewcapture: fix NPE (WindowListener#mRoot)
WindowListener#onDraw() assumes that mRoot != null which may not be true when the capture is being stopped, i.e. when a non-UI thread is setting "mRoot = null" while the UI thread is executing WindowListener#onDraw(). Bug: 391977087 Flag: EXEMPT minor bugfix Test: check the NPE doesn't happen again on the lab Change-Id: I6a7c979e1862beb27e204baf30c1d33c93b0c2a5