Merge "Force enable vertical scrolling on profile tab change" into rvc-qpr-dev am: bcd952aec4 am: d11465be48

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12066922

Change-Id: I02882a2e3bbbe4d5d8f7be1e2b9c51e752ae0309
This commit is contained in:
TreeHugger Robot
2020-07-13 12:10:13 +00:00
committed by Automerger Merge Worker

View File

@@ -3127,6 +3127,10 @@ public class ChooserActivity extends ResolverActivity implements
ChooserGridAdapter currentRootAdapter =
mChooserMultiProfilePagerAdapter.getCurrentRootAdapter();
currentRootAdapter.updateDirectShareExpansion();
// This fixes an edge case where after performing a variety of gestures, vertical scrolling
// 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
setVerticalScrollEnabled(true);
}
@Override