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

Commit 525ff5f3 authored by Jeff Brown's avatar Jeff Brown
Browse files

Remove dead code.

Change-Id: I33afe3a1c364d5cdb9fa08867ad1580c0fd04e0e
parent a8b9defa
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -340,8 +340,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    boolean mSystemReady;
    boolean mSystemBooted;
    boolean mHdmiPlugged;
    int mExternalDisplayWidth;
    int mExternalDisplayHeight;
    int mUiMode;
    int mDockMode = Intent.EXTRA_DOCK_STATE_UNDOCKED;
    int mLidOpenRotation;
@@ -998,9 +996,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            }
        }

        mExternalDisplayWidth = mDisplay.getRawExternalWidth();
        mExternalDisplayHeight = mDisplay.getRawExternalHeight();

        mStatusBarHeight = mContext.getResources().getDimensionPixelSize(
                com.android.internal.R.dimen.status_bar_height);

@@ -3037,10 +3032,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    void setHdmiPlugged(boolean plugged) {
        if (mHdmiPlugged != plugged) {
            mHdmiPlugged = plugged;
            if (plugged && mDisplay != null) {
                mExternalDisplayWidth = mDisplay.getRawExternalWidth();
                mExternalDisplayHeight = mDisplay.getRawExternalHeight();
            }
            updateRotation(true, true);
            Intent intent = new Intent(ACTION_HDMI_PLUGGED);
            intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);