Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1542517 authored by Isaac Katzenelson's avatar Isaac Katzenelson
Browse files

Fix layout cast crash in AllInOne

Bug: 6331538 Mini calendar is too small on 7 inch portrait
Change-Id: Ie8d3bdee3a4e388a0f9afe36a4a9591d107fb754
parent a6f5ce8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -414,7 +414,7 @@ public class AllInOneActivity extends Activity implements EventHandler,

        mHomeTime = (TextView) findViewById(R.id.home_time);
        mMiniMonth = findViewById(R.id.mini_month);
        if (mOrientation == Configuration.ORIENTATION_PORTRAIT) {
        if (mIsTabletConfig && mOrientation == Configuration.ORIENTATION_PORTRAIT) {
            mMiniMonth.setLayoutParams(new LinearLayout.LayoutParams(mControlsAnimateWidth,
                    mControlsAnimateHeight));
        }