Update Nav Bar Attrs in onViewAttached
This is necessary because the EdgeBackGestureHandler will only be enabled after the view is attached. If there's no other configuration updates, the view may hold the wrong attrs due to disabled edge back gesture handler. This only causes bug when the system config updated a little but caused nav bar recreation, e.g., dark mode settings change. Bug: 262194023 Test: See the reproduce steps in the bug. Change-Id: I8d47e161bf32bb6b5cc8ed560650ce05c396165e
Loading
Please register or sign in to comment