Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61c80a66 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Prevent intent resolver from changing height when no app targets am:...

Prevent intent resolver from changing height when no app targets am: 4c0513d8 am: e338fa2d am: b405b8ee

Change-Id: I029222bc57acae8e3640d3b6777d627c0d20edf1
parents c0097a76 b405b8ee
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -327,7 +327,6 @@ public abstract class AbstractMultiProfilePagerAdapter extends PagerAdapter {
                return false;
            }
        }
        showListView(activeListAdapter);
        return activeListAdapter.rebuildList(doPostProcessing);
    }

@@ -408,7 +407,7 @@ public abstract class AbstractMultiProfilePagerAdapter extends PagerAdapter {
        emptyStateView.findViewById(R.id.resolver_empty_state_progress).setVisibility(View.GONE);
    }

    private void showListView(ResolverListAdapter activeListAdapter) {
    protected void showListView(ResolverListAdapter activeListAdapter) {
        ProfileDescriptor descriptor = getItem(
                userHandleToPageIndex(activeListAdapter.getUserHandle()));
        descriptor.rootView.findViewById(R.id.resolver_list).setVisibility(View.VISIBLE);
+2 −0
Original line number Diff line number Diff line
@@ -989,6 +989,8 @@ public class ResolverActivity extends Activity implements
        }
        if (shouldShowEmptyState(listAdapter)) {
            mMultiProfilePagerAdapter.showEmptyState(listAdapter);
        } else {
            mMultiProfilePagerAdapter.showListView(listAdapter);
        }
        if (doPostProcessing) {
            if (mMultiProfilePagerAdapter.getCurrentUserHandle().getIdentifier()