Skip to content

Commit 747a9e9

Browse files
committed
Capture orientation change data in the gesture log.
Change-Id: I19719f82f1b6b6563b33edc85b4a8a259d04ba0c
1 parent 6950992 commit 747a9e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2118,8 +2118,11 @@ else if (expandedPosition == EXPANDED_LEAVE_ALONE) {
21182118
updateCarrierLabelVisibility(false);
21192119
}
21202120

2121+
// called by makeStatusbar and also by PhoneStatusBarView
21212122
void updateDisplaySize() {
21222123
mDisplay.getMetrics(mDisplayMetrics);
2124+
mGestureRec.tag("display",
2125+
String.format("%dx%d", mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels));
21232126
}
21242127

21252128
void performDisableActions(int net) {

0 commit comments

Comments
 (0)