Animate show/hide updates
Also fixes the vertical text position which was wrong due to the shadow
Bug:5268733
Bug:5204655
Change-Id: I011a482500e13b1b189c7e27dbcd40e2e1f42318
diff --git a/src/com/android/contacts/ContactLoader.java b/src/com/android/contacts/ContactLoader.java
index 2e59f71..b7cc87d 100644
--- a/src/com/android/contacts/ContactLoader.java
+++ b/src/com/android/contacts/ContactLoader.java
@@ -1265,6 +1265,21 @@
mLoadInvitableAccountTypes = loadInvitableAccountTypes;
}
+ /**
+ * Sets whether to load stream items. Will trigger a reload if the value has changed.
+ * At the moment, this is only used for debugging purposes
+ */
+ public void setLoadStreamItems(boolean value) {
+ if (mLoadStreamItems != value) {
+ mLoadStreamItems = value;
+ onContentChanged();
+ }
+ }
+
+ public boolean getLoadStreamItems() {
+ return mLoadStreamItems;
+ }
+
public Uri getLookupUri() {
return mLookupUri;
}