summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2018-02-21 23:39:03 -0800
committerEric Erfanian <erfanian@google.com>2018-02-22 21:11:56 +0000
commitdde326ea2878112b0e59412cabd2ff98ce51d46e (patch)
tree012b1dd73ba554b09be6eee250d9fc1a9311feb2 /java
parent451a56bf3d8700e24b2c528a01b58efdb1b429f2 (diff)
Removed item animator in Call Log RecyclerView.
Bug: 69965302 Test: TAP PiperOrigin-RevId: 186573663 Change-Id: I099f22b7a8df7018ec50e309b2ae37f3eedd76fd
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/app/calllog/CallLogFragment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/android/dialer/app/calllog/CallLogFragment.java b/java/com/android/dialer/app/calllog/CallLogFragment.java
index ee564e203..dd1d98c83 100644
--- a/java/com/android/dialer/app/calllog/CallLogFragment.java
+++ b/java/com/android/dialer/app/calllog/CallLogFragment.java
@@ -58,6 +58,7 @@ import com.android.dialer.blocking.FilteredNumberAsyncQueryHandler;
import com.android.dialer.common.Assert;
import com.android.dialer.common.FragmentUtils;
import com.android.dialer.common.LogUtil;
+import com.android.dialer.configprovider.ConfigProviderBindings;
import com.android.dialer.database.CallLogQueryHandler;
import com.android.dialer.database.CallLogQueryHandler.Listener;
import com.android.dialer.location.GeoUtil;
@@ -308,6 +309,9 @@ public class CallLogFragment extends Fragment
protected void setupView(View view) {
recyclerView = (RecyclerView) view.findViewById(R.id.recycler_view);
+ if (ConfigProviderBindings.get(getContext()).getBoolean("is_call_log_item_anim_null", false)) {
+ recyclerView.setItemAnimator(null);
+ }
recyclerView.setHasFixedSize(true);
recyclerView.addOnScrollListener(
new RecyclerViewJankLogger(