Merge "Don't try to use display of detached task to update insets" into tm-qpr-dev
This commit is contained in:
@@ -477,7 +477,10 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
|
|||||||
}
|
}
|
||||||
mLocalInsetsSourceProviders.remove(insetsTypes[i]);
|
mLocalInsetsSourceProviders.remove(insetsTypes[i]);
|
||||||
}
|
}
|
||||||
mDisplayContent.getInsetsStateController().updateAboveInsetsState(true);
|
// Update insets if this window is attached.
|
||||||
|
if (mDisplayContent != null) {
|
||||||
|
mDisplayContent.getInsetsStateController().updateAboveInsetsState(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user