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

Commit 747a9e98 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Capture orientation change data in the gesture log.

Change-Id: I19719f82f1b6b6563b33edc85b4a8a259d04ba0c
parent 69509926
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2118,8 +2118,11 @@ public class PhoneStatusBar extends BaseStatusBar {
        updateCarrierLabelVisibility(false);
    }

    // called by makeStatusbar and also by PhoneStatusBarView
    void updateDisplaySize() {
        mDisplay.getMetrics(mDisplayMetrics);
        mGestureRec.tag("display", 
                String.format("%dx%d", mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels));
    }

    void performDisableActions(int net) {