Fix assistant bugs
This commit is contained in:
parent
dbe05ae037
commit
2f27cbfafb
3 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.linphone"
|
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"/>
|
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23"/>
|
||||||
|
|
||||||
<!-- Permissions for Push Notification -->
|
<!-- Permissions for Push Notification -->
|
||||||
|
@ -25,7 +25,6 @@
|
||||||
<uses-permission android:name="android.permission.CAMERA" />
|
<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 -->
|
<!-- 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-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_PHONE_STATE" />
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||||
<!-- Needed to store received images if the user wants to -->
|
<!-- Needed to store received images if the user wants to -->
|
||||||
|
|
|
@ -79,7 +79,7 @@ public class CreateAccountCodeActivationFragment extends Fragment implements Lin
|
||||||
}
|
}
|
||||||
|
|
||||||
phonenumber = (TextView) view.findViewById(R.id.send_phone_number);
|
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 = (EditText) view.findViewById(R.id.assistant_code);
|
||||||
code.addTextChangedListener(new TextWatcher() {
|
code.addTextChangedListener(new TextWatcher() {
|
||||||
|
|
|
@ -466,7 +466,7 @@ public class CreateAccountFragment extends Fragment implements CompoundButton.On
|
||||||
addressSip = getUsername();
|
addressSip = getUsername();
|
||||||
if (addressSip.length() > 0) {
|
if (addressSip.length() > 0) {
|
||||||
msg = getResources().getString(R.string.assistant_create_account_phone_number_address)
|
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);
|
sipUri.setText(msg);
|
||||||
|
|
Loading…
Reference in a new issue