diff --git a/src/org/linphone/HistoryListFragment.java b/src/org/linphone/HistoryListFragment.java index af7088648..492155c65 100644 --- a/src/org/linphone/HistoryListFragment.java +++ b/src/org/linphone/HistoryListFragment.java @@ -315,66 +315,6 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On } } - private void hideDeleteAllButton() { - if (delete == null || delete.getVisibility() != View.VISIBLE) { - return; - } - - if (LinphoneActivity.instance().isAnimationDisabled()) { - delete.setVisibility(View.INVISIBLE); - } else { - Animation animation = AnimationUtils.loadAnimation(getActivity(), R.anim.slide_out_right_to_left); - animation.setAnimationListener(new AnimationListener() { - @Override - public void onAnimationStart(Animation animation) { - - } - - @Override - public void onAnimationRepeat(Animation animation) { - - } - - @Override - public void onAnimationEnd(Animation animation) { - delete.setVisibility(View.INVISIBLE); - animation.setAnimationListener(null); - } - }); - delete.startAnimation(animation); - } - } - - private void showDeleteAllButton() { - if (delete == null || delete.getVisibility() == View.VISIBLE) { - return; - } - - if (LinphoneActivity.instance().isAnimationDisabled()) { - delete.setVisibility(View.VISIBLE); - } else { - Animation animation = AnimationUtils.loadAnimation(getActivity(), R.anim.slide_in_left_to_right); - animation.setAnimationListener(new AnimationListener() { - @Override - public void onAnimationStart(Animation animation) { - - } - - @Override - public void onAnimationRepeat(Animation animation) { - - } - - @Override - public void onAnimationEnd(Animation animation) { - delete.setVisibility(View.VISIBLE); - animation.setAnimationListener(null); - } - }); - delete.startAnimation(animation); - } - } - public void quitEditMode(){ isEditMode = false; editList.setVisibility(View.GONE); diff --git a/src/org/linphone/LinphoneManager.java b/src/org/linphone/LinphoneManager.java index ffb40469b..cce6518c5 100644 --- a/src/org/linphone/LinphoneManager.java +++ b/src/org/linphone/LinphoneManager.java @@ -649,6 +649,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag mLc.setRootCA(mLinphoneRootCaFile); mLc.setPlayFile(mPauseSoundFile); mLc.setChatDatabasePath(mChatDatabaseFile); + mLc.setCallLogsDatabasePath(mCallLogDatabaseFile); //mLc.setCallErrorTone(Reason.NotFound, mErrorToneFile); int availableCores = Runtime.getRuntime().availableProcessors(); @@ -658,6 +659,8 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag int migrationResult = getLc().migrateToMultiTransport(); Log.d("Migration to multi transport result = " + migrationResult); + mLc.migrateCallLogs(); + if (mServiceContext.getResources().getBoolean(R.bool.enable_push_id)) { Compatibility.initPushNotificationService(mServiceContext); }