summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Bird <sbird@cyngn.com>2016-07-12 14:47:27 -0700
committerStephen Bird <sbird@cyngn.com>2016-07-12 15:26:44 -0700
commit6aebf68021fc09017a8ba16377a2c63817b95a51 (patch)
tree8577c2df55486ba6a61196fd283b89860368fdc9
parenta586a527284048c57a724630866eac6aa61b75c0 (diff)
downloadpackages_apps_Contacts-6aebf68021fc09017a8ba16377a2c63817b95a51.tar.gz
packages_apps_Contacts-6aebf68021fc09017a8ba16377a2c63817b95a51.tar.bz2
packages_apps_Contacts-6aebf68021fc09017a8ba16377a2c63817b95a51.zip
[2/4] Add cancel callback for BlockContactDialog
Some ui elements need to refresh themselves when the dialog is cancelled. This allows them to do that. Change-Id: Iffa1861da93b4e070ace0168c3bccafcdf07b5a7 Ticket: CYNGNOS-3111
-rw-r--r--src/com/android/contacts/quickcontact/QuickContactActivity.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java
index 55d12adb3..d13f614aa 100644
--- a/src/com/android/contacts/quickcontact/QuickContactActivity.java
+++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -535,6 +535,11 @@ public class QuickContactActivity extends ContactsActivity implements
};
@Override
+ public void onBlockCancelled() {
+ // Do nothing
+ }
+
+ @Override
public void onBlockSelected(boolean notifyLookupProvider) {
mBlockContactHelper.blockContactAsync(notifyLookupProvider);
}