diff --git a/src/android/org/linphone/activities/LinphoneActivity.java b/src/android/org/linphone/activities/LinphoneActivity.java index 1eaa02516..245d99a18 100644 --- a/src/android/org/linphone/activities/LinphoneActivity.java +++ b/src/android/org/linphone/activities/LinphoneActivity.java @@ -65,6 +65,7 @@ import android.widget.Toast; import org.linphone.call.CallActivity; import org.linphone.call.CallIncomingActivity; import org.linphone.call.CallOutgoingActivity; +import org.linphone.contacts.ContactPicked; import org.linphone.fragments.AboutFragment; import org.linphone.fragments.AccountPreferencesFragment; import org.linphone.contacts.ContactAddress; @@ -1909,7 +1910,3 @@ public class LinphoneActivity extends LinphoneGenericActivity implements OnClick } } - -interface ContactPicked { - void setAddresGoToDialerAndCall(String number, String name, Uri photo); -} diff --git a/src/android/org/linphone/contacts/ContactPicked.java b/src/android/org/linphone/contacts/ContactPicked.java new file mode 100644 index 000000000..98453556a --- /dev/null +++ b/src/android/org/linphone/contacts/ContactPicked.java @@ -0,0 +1,26 @@ +/* + ContactPicked.java + Copyright (C) 2017 Belledonne Communications, Grenoble, France + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +package org.linphone.contacts; + +import android.net.Uri; + +public interface ContactPicked { + void setAddresGoToDialerAndCall(String number, String name, Uri photo); +} \ No newline at end of file