Add some fix

This commit is contained in:
Erwan Croze 2018-08-14 10:16:57 +02:00
parent dcdda672d8
commit f86c16ff27
7 changed files with 6 additions and 23 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -36,8 +36,7 @@
android:layout_height="match_parent"
android:layout_weight="0.2"
android:contentDescription="@string/content_description_edit"
android:padding="10dp"
android:src="@drawable/footer_contacts"/>
android:src="@drawable/back_white"/>
</LinearLayout>
<LinearLayout

View file

@ -112,13 +112,8 @@
android:textColor="#595959"
android:textSize="13.3sp"
android:textStyle="bold"/>
<LinearLayout
android:id="@+id/separator"
android:layout_width="100dp"
android:layout_height="10dp"
android:orientation="horizontal"/>
<RelativeLayout
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">

View file

@ -184,17 +184,6 @@ public class LinphoneActivity extends LinphoneGenericActivity implements OnClick
//This must be done before calling super.onCreate().
super.onCreate(savedInstanceState);
//Obiane specifics
//HTTP to HTTPS migration
try {
if (LinphonePreferences.instance().getRemoteProvisioningUrl() != null
&& LinphonePreferences.instance().getRemoteProvisioningUrl().startsWith("http://")) {
LinphonePreferences.instance().setRemoteProvisioningUrl(LinphonePreferences.instance().getRemoteProvisioningUrl().replace("http://", "https://"));
}
}catch(NullPointerException nPE){
Log.e(nPE);
}
if (getResources().getBoolean(R.bool.orientation_portrait_only)) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
}
@ -239,7 +228,7 @@ public class LinphoneActivity extends LinphoneGenericActivity implements OnClick
currentFragment = FragmentsAvailable.EMPTY;
if (savedInstanceState == null) {
displayContacts(false);
goToChatList();
} else {
currentFragment = (FragmentsAvailable) savedInstanceState.getSerializable("currentFragment");
}

View file

@ -167,7 +167,7 @@ public class AboutFragment extends Fragment implements OnClickListener {
lc.resetLogCollection();
}
} else */if (v == cancel) {
LinphoneActivity.instance().displayContacts(false);
LinphoneActivity.instance().popBackStack();
}
}
}

@ -1 +1 @@
Subproject commit 8d3a016378aedcc14438ac55d5549faf79a7325b
Subproject commit 405da744b62e299d4324988de7bcdbf9779b21ac

@ -1 +1 @@
Subproject commit 5c01b88682ce3bd483ba071424cd9384839e9c13
Subproject commit 6edf43c37dfc4e2c4d785fd4068748a158a4b264