summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohit Yengisetty <rohit@cyngn.com>2016-05-26 18:41:51 -0700
committerLorDClockaN <lordclockan@gmail.com>2016-05-27 15:38:17 +0200
commit6c47523d6d44e873a8963a7808775d89c4b90b42 (patch)
tree41893bcbdb5b7527682a8c0a0729182440126c5e
parent4c88dd1512ffe94b74240377c4ffee0a9bdeef37 (diff)
Fix copy constructor of ContactInfoCache
Also, add missing id to call_card_fragment's landscape layout Change-Id: I91d9dc6e879464b973e820c4c74c33574eb6e1cf Issue-Id: OPO-729
-rw-r--r--res/layout-land/call_card_fragment.xml1
-rw-r--r--src/com/android/incallui/ContactInfoCache.java6
2 files changed, 7 insertions, 0 deletions
diff --git a/res/layout-land/call_card_fragment.xml b/res/layout-land/call_card_fragment.xml
index f0d336c8..11ed0ce5 100644
--- a/res/layout-land/call_card_fragment.xml
+++ b/res/layout-land/call_card_fragment.xml
@@ -174,6 +174,7 @@
</FrameLayout>
<FrameLayout
+ android:id="@+id/lookup_extra_info_container"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_below="@id/primary_call_info_container"
diff --git a/src/com/android/incallui/ContactInfoCache.java b/src/com/android/incallui/ContactInfoCache.java
index 9e2d09e6..58851986 100644
--- a/src/com/android/incallui/ContactInfoCache.java
+++ b/src/com/android/incallui/ContactInfoCache.java
@@ -818,6 +818,12 @@ public class ContactInfoCache implements ContactsAsyncHelper.OnImageLoadComplete
this.lookupKey = entry.lookupKey;
this.isEmergencyNumber = entry.isEmergencyNumber;
this.inCallPluginInfoList = entry.inCallPluginInfoList;
+ this.spamCount = entry.spamCount;
+ this.isSpam = entry.isSpam;
+ this.lookupProviderName = entry.lookupProviderName;
+ this.lookupProviderBadge = entry.lookupProviderBadge;
+ this.isLookupInProgress = entry.isLookupInProgress;
+ this.lookupStatus = entry.lookupStatus;
}
}