diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-04-12 23:23:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-12 23:23:09 +0000 |
commit | f599b4bbf9c9c0224f64934d78f00ba6690c6c7f (patch) | |
tree | 0f1f4cc08e164cde9f891f83749edff34eb94a89 /java/com/android/dialer/calldetails/CallDetailsAdapterCommon.java | |
parent | 9ef6d8c84b7b33e069258d41db9eef16e3d2b9fa (diff) | |
parent | d6b10d559f345eab2dd3dd89b07cfc3fd79c59bc (diff) |
Merge "Add RTT transcript to call details."
Diffstat (limited to 'java/com/android/dialer/calldetails/CallDetailsAdapterCommon.java')
-rw-r--r-- | java/com/android/dialer/calldetails/CallDetailsAdapterCommon.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/com/android/dialer/calldetails/CallDetailsAdapterCommon.java b/java/com/android/dialer/calldetails/CallDetailsAdapterCommon.java index 27feff89d..a79642bad 100644 --- a/java/com/android/dialer/calldetails/CallDetailsAdapterCommon.java +++ b/java/com/android/dialer/calldetails/CallDetailsAdapterCommon.java @@ -18,6 +18,7 @@ package com.android.dialer.calldetails; import android.content.Context; import android.support.annotation.CallSuper; +import android.support.annotation.MainThread; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView.ViewHolder; import android.view.LayoutInflater; @@ -137,7 +138,9 @@ abstract class CallDetailsAdapterCommon extends RecyclerView.Adapter<RecyclerVie return callDetailsEntries; } + @MainThread final void updateCallDetailsEntries(CallDetailsEntries entries) { + Assert.isMainThread(); callDetailsEntries = entries; notifyDataSetChanged(); } |