Merge "Skip updating nav bar if it was destroyed" into tm-dev am: 72d2d550e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16946073 Change-Id: I79c24973997f45be744ac896989776262b49070d
This commit is contained in:
@@ -440,7 +440,9 @@ public class NavigationBar implements View.OnAttachStateChangeListener,
|
||||
mHomeButtonLongPressDurationMs = Optional.of(
|
||||
properties.getLong(HOME_BUTTON_LONG_PRESS_DURATION_MS, 0)
|
||||
).filter(duration -> duration != 0);
|
||||
reconfigureHomeLongClick();
|
||||
if (mNavigationBarView != null) {
|
||||
reconfigureHomeLongClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user