From 862822f31471305d67fe54e3b41cb462b7b2b827 Mon Sep 17 00:00:00 2001 From: Ta-wei Yen Date: Mon, 9 Nov 2015 11:47:45 -0800 Subject: Remove VVM status update for BlockNumberDialogFragment dialog messages. Simplify code as this should be needed very rarely, since all activities that call BlockNumberDialogFragment already need to update the status themselves. + Removed param context in BlockNumberDialogFragment.show() Change-Id: I21f51292208fe59d8dec02d306782df1822b8834 --- src/com/android/dialer/CallDetailActivity.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/com/android/dialer/CallDetailActivity.java') diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index f63fcf3b0..6df2346c2 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -40,21 +40,21 @@ import android.widget.Toast; import com.android.contacts.common.CallUtil; import com.android.contacts.common.ClipboardUtils; -import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest; import com.android.contacts.common.ContactPhotoManager; +import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest; import com.android.contacts.common.GeoUtil; import com.android.contacts.common.interactions.TouchPointManager; import com.android.contacts.common.preference.ContactsPreferences; import com.android.contacts.common.testing.NeededForTesting; import com.android.contacts.common.util.UriUtils; import com.android.dialer.calllog.CallDetailHistoryAdapter; -import com.android.dialer.calllog.CallLogAsyncTaskUtil.CallLogAsyncTaskListener; import com.android.dialer.calllog.CallLogAsyncTaskUtil; +import com.android.dialer.calllog.CallLogAsyncTaskUtil.CallLogAsyncTaskListener; import com.android.dialer.calllog.CallTypeHelper; import com.android.dialer.calllog.ContactInfoHelper; import com.android.dialer.calllog.PhoneAccountUtils; -import com.android.dialer.database.FilteredNumberAsyncQueryHandler.OnCheckBlockedListener; import com.android.dialer.database.FilteredNumberAsyncQueryHandler; +import com.android.dialer.database.FilteredNumberAsyncQueryHandler.OnCheckBlockedListener; import com.android.dialer.filterednumber.BlockNumberDialogFragment; import com.android.dialer.filterednumber.FilteredNumbersUtil; import com.android.dialer.util.DialerUtils; @@ -358,7 +358,6 @@ public class CallDetailActivity extends AppCompatActivity switch(view.getId()) { case R.id.call_detail_action_block: BlockNumberDialogFragment.show( - this, mBlockedNumberId, mNumber, mDetails.countryIso, -- cgit v1.2.3