Add the tabs height when determining the height of the share sheet
Test: atest com.android.internal.app.ResolverActivityTest Test: atest com.android.internal.app.ChooserActivityTest Bug: 142537267 Bug: 142538125 Change-Id: I056730d69163591a84d7c3b70c52a646579c8830
This commit is contained in:
@@ -2424,6 +2424,10 @@ public class ChooserActivity extends ResolverActivity implements
|
||||
offset += findViewById(R.id.content_preview_container).getHeight();
|
||||
}
|
||||
|
||||
if (hasWorkProfile() && ENABLE_TABBED_VIEW) {
|
||||
offset += findViewById(R.id.tabs).getHeight();
|
||||
}
|
||||
|
||||
int directShareHeight = 0;
|
||||
rowsToShow = Math.min(4, rowsToShow);
|
||||
for (int i = 0, childCount = recyclerView.getChildCount();
|
||||
|
||||
Reference in New Issue
Block a user