Merge "Gesture Exclusion: Fix crash when exclusion updates after detaching window"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d4bc280d16
@@ -3980,7 +3980,7 @@ public final class ViewRootImpl implements ViewParent,
|
||||
|
||||
void systemGestureExclusionChanged() {
|
||||
final List<Rect> rectsForWindowManager = mGestureExclusionTracker.computeChangedRects();
|
||||
if (rectsForWindowManager != null) {
|
||||
if (rectsForWindowManager != null && mView != null) {
|
||||
try {
|
||||
mWindowSession.reportSystemGestureExclusionChanged(mWindow, rectsForWindowManager);
|
||||
} catch (RemoteException e) {
|
||||
|
||||
Reference in New Issue
Block a user