diff options
author | Ta-wei Yen <twyen@google.com> | 2015-11-09 11:47:45 -0800 |
---|---|---|
committer | Ta-wei Yen <twyen@google.com> | 2015-11-12 18:31:03 +0000 |
commit | 862822f31471305d67fe54e3b41cb462b7b2b827 (patch) | |
tree | 71bdfb543a18f4d5031f760ec1d2d8744dc3c3ba /src/com/android/dialer/CallDetailActivity.java | |
parent | ad60c688155853efcc594e2906fca146fe0266f2 (diff) |
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
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 7 |
1 files changed, 3 insertions, 4 deletions
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, |