Remove setContext of initLiblinphone, it's already did in LinphoneFactory
This commit is contained in:
parent
0f0441294f
commit
a82f9e9218
3 changed files with 4 additions and 2 deletions
|
@ -1227,6 +1227,9 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
|
|||
|
||||
@Override
|
||||
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
|
||||
if (permissions.length <= 0)
|
||||
return;
|
||||
|
||||
int readContactsI = -1;
|
||||
for (int i = 0; i < permissions.length; i++) {
|
||||
Log.i("[Permission] " + permissions[i] + " is " + (grantResults[i] == PackageManager.PERMISSION_GRANTED ? "granted" : "denied"));
|
||||
|
|
|
@ -758,7 +758,6 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
|||
mPrefs.echoConfigurationUpdated();
|
||||
}
|
||||
|
||||
mLc.setContext(mServiceContext);
|
||||
mLc.setZrtpSecretsCache(basePath + "/zrtp_secrets");
|
||||
|
||||
try {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c0b32a738f238c0d87e83ec6eda3d6e0de6bbe51
|
||||
Subproject commit ef792ae0ab9acf2ccc224f06f46e22368b9d7848
|
Loading…
Reference in a new issue