commit | 959b0d46b986af0385185d66a563ad9adbc10bc3 | [log] [tgz] |
---|---|---|
author | Geoffrey Métais <geoffrey.metais@gmail.com> | Tue Feb 14 10:29:35 2017 +0100 |
committer | Shubham Singh <coolsks94@gmail.com> | Fri Mar 31 15:56:34 2017 +0530 |
tree | fbb880c3b34d7ddf0d4c7b7883ab84860a13eadb | |
parent | d28f1456f38f9fee286407c42ec73ad3998e19a7 [diff] |
Prevent potential NPE Ignore scroll events if mNestedScrollingChildRef is not set yet. It happens if BottomSheetBehavior view is inflated from a ViewStub for example, input events can arrive too soon. bug: https://code.google.com/p/android/issues/detail?id=232646 Test: nullity check, existing unit tests still pass. Change-Id: I0535a63ed834d64fcbf20dd8b268d109232c5077