Skip to content
Snippets Groups Projects
Commit d484e5e6 authored by Emeric Vigier's avatar Emeric Vigier
Browse files

#14399: clean up

parent 383b2a29
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_tab_play_selected" android:state_selected="true" android:state_pressed="false" />
<item android:drawable="@drawable/ic_tab_play_unselected" />
</selector>
......@@ -44,28 +44,12 @@ as that of the covered work.
android:layout_alignParentTop="true"
android:onClick="onClick"
android:text="init" />
<Button
android:id="@+id/buttonCall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/buttonInit"
android:onClick="onClick"
android:text="call" />
<Button
android:id="@+id/buttonTest1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/buttonCall"
android:onClick="onClick"
android:text="test1" />
<TextView
android:id="@+id/callVoid_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/buttonTest1"
android:layout_below="@+id/buttonInit"
android:text="callVoidText" />
<Button
......
......@@ -27,11 +27,6 @@ public class ManagerImpl {
m.sendToTarget();
}
public static boolean outgoingCallJ(String account_id) {
Log.i(TAG, "account_id:" + account_id);
return true;
}
public String getSipLogLevel() {
return sipLogLevel;
}
......@@ -42,6 +37,5 @@ public class ManagerImpl {
public static native void setSipLogLevel(String level);
public static native String getJniString();
public static native boolean outgoingCallN(String account_id);
public static native void initN(String config_file);
}
......@@ -274,15 +274,9 @@ public class SFLPhoneHome extends Activity implements ActionBar.TabListener, OnC
public void onClick(View view)
{
switch (view.getId()) {
case R.id.buttonCall:
ManagerImpl.outgoingCallJ("");
break;
case R.id.buttonInit:
ManagerImpl.initN("");
break;
case R.id.buttonTest1:
Log.i(TAG, "buttonTest1");
break;
case R.id.buttonCallVoid:
ManagerImpl.callVoid();
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment