Moved ContactPicked interface out of LinphoneActivity
This commit is contained in:
parent
cc26517006
commit
721abe4c6d
2 changed files with 27 additions and 4 deletions
|
@ -65,6 +65,7 @@ import android.widget.Toast;
|
||||||
import org.linphone.call.CallActivity;
|
import org.linphone.call.CallActivity;
|
||||||
import org.linphone.call.CallIncomingActivity;
|
import org.linphone.call.CallIncomingActivity;
|
||||||
import org.linphone.call.CallOutgoingActivity;
|
import org.linphone.call.CallOutgoingActivity;
|
||||||
|
import org.linphone.contacts.ContactPicked;
|
||||||
import org.linphone.fragments.AboutFragment;
|
import org.linphone.fragments.AboutFragment;
|
||||||
import org.linphone.fragments.AccountPreferencesFragment;
|
import org.linphone.fragments.AccountPreferencesFragment;
|
||||||
import org.linphone.contacts.ContactAddress;
|
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);
|
|
||||||
}
|
|
||||||
|
|
26
src/android/org/linphone/contacts/ContactPicked.java
Normal file
26
src/android/org/linphone/contacts/ContactPicked.java
Normal file
|
@ -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);
|
||||||
|
}
|
Loading…
Reference in a new issue