[Android] Disallow null stubs on DeferredViewStubInflationProvider
Currently, the DeferredViewStubInflationProvider will accept null as view stub and try to inflate the non-existent stub much later. To prevent this deferred NullPointerException, assert that used stubs are never null. Fix the usage that uncovered that issue. Bug: 876215 Change-Id: I51deb6aaa1ac3d3283e6794c0cae37c536b43aa5 Reviewed-on: https://chromium-review.googlesource.com/1210783Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Friedrich Horschig [CEST] <fhorschig@chromium.org> Cr-Commit-Position: refs/heads/master@{#589487}
Showing
Please register or sign in to comment