From 019713e2b85ff6868c7a77f556b03702d5d07cb0 Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Mon, 6 Jul 2015 18:25:24 -0700 Subject: Go to recents tab instead of CallLogActivity for call views. Use the DialtactsActivity instead of CallLogActivity when accepting ACTION_VIEW intents for the "calls" mime type. Also remove an unused method in CallLogFragment. Bug: 22266705 Change-Id: I1bf089901b1a5f9534c9f7a8484c12e535a87749 --- src/com/android/dialer/calllog/CallLogFragment.java | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/com/android/dialer/calllog/CallLogFragment.java') diff --git a/src/com/android/dialer/calllog/CallLogFragment.java b/src/com/android/dialer/calllog/CallLogFragment.java index 21ea97ea6..5d7c408ce 100644 --- a/src/com/android/dialer/calllog/CallLogFragment.java +++ b/src/com/android/dialer/calllog/CallLogFragment.java @@ -292,20 +292,6 @@ public class CallLogFragment extends Fragment mAdapter.onRestoreInstanceState(savedInstanceState); } - /** - * Based on the new intent, decide whether the list should be configured - * to scroll up to display the first item. - */ - public void configureScreenFromIntent(Intent newIntent) { - // Typically, when switching to the call-log we want to show the user - // the same section of the list that they were most recently looking - // at. However, under some circumstances, we want to automatically - // scroll to the top of the list to present the newest call items. - // For example, immediately after a call is finished, we want to - // display information about that call. - mScrollToTop = Calls.CONTENT_TYPE.equals(newIntent.getType()); - } - @Override public void onStart() { // Start the empty loader now to defer other fragments. We destroy it when both calllog -- cgit v1.2.3