Commit c86bfed1 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Removed all code from activity for now + disabled ipv6

parent 08814ddd
......@@ -19,14 +19,9 @@ package org.linphone.tester;
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import android.Manifest;
import android.app.Activity;
import android.os.Bundle;
import org.linphone.mediastream.Version;
import java.util.ArrayList;
public class SuitesActivity extends Activity {
@Override
......@@ -34,19 +29,4 @@ public class SuitesActivity extends Activity {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_suites);
}
@Override
protected void onStart() {
super.onStart();
if (Version.sdkAboveOrEqual(23)) {
ArrayList<String> permissionsList = new ArrayList<>();
permissionsList.add(Manifest.permission.READ_EXTERNAL_STORAGE);
permissionsList.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);
String[] permissions = new String[permissionsList.size()];
permissions = permissionsList.toArray(permissions);
requestPermissions(permissions, 0);
}
}
}
......@@ -65,7 +65,8 @@ public class Tester {
"--resource-dir", mContext.getFilesDir().getAbsolutePath(),
"--writable-dir", mContext.getCacheDir().getPath(),
"--suite", suite,
"--test", test
"--test", test,
"--no-ipv6"
}));
String[] array = list.toArray(new String[list.size()]);
return run(array);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment