Remove animator on app list.
The animator causes a lot of jank. Removing it makes the UI feel faster in general. Fixes: 74127318 Test: visual Change-Id: I79cbe8220fb05af84a394207dac2c8c9a93288be
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user