Skip updating exclusion rects unless one is set
Bug: 140775753 Bug: 140701977 Bug: 140758369 Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests:android.platform.systemui.tests.jank.SystemUiJankTests#testQuickSettingsPull -v Change-Id: I824ca918d141eb88aa99b1e90adafe64ca3eb672
This commit is contained in:
@@ -14431,8 +14431,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
}
|
||||
|
||||
notifyAppearedOrDisappearedForContentCaptureIfNeeded(isVisible);
|
||||
if (isVisible != oldVisible) {
|
||||
updateSystemGestureExclusionRects();
|
||||
if (!getSystemGestureExclusionRects().isEmpty() && isVisible != oldVisible) {
|
||||
postUpdateSystemGestureExclusionRects();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user