Fix assistant bugs

This commit is contained in:
Erwan Croze 2016-11-14 09:35:27 +01:00
parent dbe05ae037
commit 2f27cbfafb
3 changed files with 3 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.linphone"
android:versionCode="3202" android:versionName="3.2.0" android:installLocation="auto">
android:versionCode="3204" android:versionName="3.2.0" android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23"/>
<!-- Permissions for Push Notification -->
@ -25,7 +25,6 @@
<uses-permission android:name="android.permission.CAMERA" />
<!-- Needed to allow Linphone to install on tablets, since android.permission.CAMERA implies android.hardware.camera and android.hardware.camera.autofocus are required -->
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<!-- Needed to store received images if the user wants to -->

View file

@ -79,7 +79,7 @@ public class CreateAccountCodeActivationFragment extends Fragment implements Lin
}
phonenumber = (TextView) view.findViewById(R.id.send_phone_number);
phonenumber.setText(dialcode + phone);
phonenumber.setText(accountCreator.getPhoneNumber());
code = (EditText) view.findViewById(R.id.assistant_code);
code.addTextChangedListener(new TextWatcher() {

View file

@ -466,7 +466,7 @@ public class CreateAccountFragment extends Fragment implements CompoundButton.On
addressSip = getUsername();
if (addressSip.length() > 0) {
msg = getResources().getString(R.string.assistant_create_account_phone_number_address)
+ " <" + addressSip + "@" + getResources().getString(R.string.default_domain) + ">";
+ " <sip:" + addressSip + "@" + getResources().getString(R.string.default_domain) + ">";
}
}
sipUri.setText(msg);