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,9 +440,11 @@ public class NavigationBar implements View.OnAttachStateChangeListener,
|
|||||||
mHomeButtonLongPressDurationMs = Optional.of(
|
mHomeButtonLongPressDurationMs = Optional.of(
|
||||||
properties.getLong(HOME_BUTTON_LONG_PRESS_DURATION_MS, 0)
|
properties.getLong(HOME_BUTTON_LONG_PRESS_DURATION_MS, 0)
|
||||||
).filter(duration -> duration != 0);
|
).filter(duration -> duration != 0);
|
||||||
|
if (mNavigationBarView != null) {
|
||||||
reconfigureHomeLongClick();
|
reconfigureHomeLongClick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
private final DeviceProvisionedController.DeviceProvisionedListener mUserSetupListener =
|
private final DeviceProvisionedController.DeviceProvisionedListener mUserSetupListener =
|
||||||
|
|||||||
Reference in New Issue
Block a user