Fix issue on SDK < 9

This commit is contained in:
Sylvain Berfini 2012-05-09 11:50:46 +02:00
parent ac0b186775
commit a26768c899

View file

@ -222,7 +222,9 @@ public class DialerActivity extends Activity implements LinphoneGuiListener {
mInCallControls = (LinearLayout) findViewById(R.id.InCallControls); mInCallControls = (LinearLayout) findViewById(R.id.InCallControls);
mStatus = (TextView) findViewById(R.id.status_label); mStatus = (TextView) findViewById(R.id.status_label);
if (Version.isXLargeScreen(this)) {
tryToInitTabletUI(); tryToInitTabletUI();
}
SlidingDrawer drawer = (SlidingDrawer) findViewById(R.id.drawer); SlidingDrawer drawer = (SlidingDrawer) findViewById(R.id.drawer);
if (drawer != null) { if (drawer != null) {