Merge "Fix bug: NullPointerException in ChooserActivity" into rvc-qpr-dev
This commit is contained in:
@@ -3134,8 +3134,10 @@ public class ChooserActivity extends ResolverActivity implements
|
|||||||
// ends up disabled. That's because at some point the old tab's vertical scrolling is
|
// ends up disabled. That's because at some point the old tab's vertical scrolling is
|
||||||
// disabled and the new tab's is enabled. For context, see b/159997845
|
// disabled and the new tab's is enabled. For context, see b/159997845
|
||||||
setVerticalScrollEnabled(true);
|
setVerticalScrollEnabled(true);
|
||||||
|
if (mResolverDrawerLayout != null) {
|
||||||
mResolverDrawerLayout.scrollNestedScrollableChildBackToTop();
|
mResolverDrawerLayout.scrollNestedScrollableChildBackToTop();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
|
protected WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
|
||||||
|
|||||||
Reference in New Issue
Block a user