Merge "Guard potential null case in FullscreenTaskListener.releaseWindowDecor found in testing." into tm-qpr-dev
This commit is contained in:
@@ -287,6 +287,9 @@ public class FullscreenTaskListener<T extends AutoCloseable>
|
||||
}
|
||||
|
||||
private void releaseWindowDecor(T windowDecor) {
|
||||
if (windowDecor == null) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
windowDecor.close();
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user