Since getDecorView may return null when dialog's window is no longer present, annotate it as @Nullable. Bug: 124327419 Test: none Change-Id: I0d49b75b14f54cd8ba8304c900f6c8625f889aa8