Merge "Remove animator on app list." into qt-dev

This commit is contained in:
Fan Zhang
2019-05-07 19:05:39 +00:00
committed by Android (Google) Code Review

View File

@@ -373,6 +373,7 @@ public class ManageApplications extends InstrumentedFragment
UserHandle.of(userId)));
}
mRecyclerView = mListContainer.findViewById(R.id.apps_list);
mRecyclerView.setItemAnimator(null);
mRecyclerView.setLayoutManager(new LinearLayoutManager(
getContext(), RecyclerView.VERTICAL, false /* reverseLayout */));
mRecyclerView.setAdapter(mApplications);