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

am: 576cb8b0df

Change-Id: I05c37e7cab441bac6a0d97ea3b0379546c606cf9
This commit is contained in:
Fan Zhang
2019-05-07 13:12:48 -07:00
committed by android-build-merger

View File

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