summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2021-05-21 16:00:09 -0700
committerWinson Chung <winsonc@google.com>2021-05-25 21:30:33 -0700
commit264a377960308f94c506be2b9d319eba38a675fd (patch)
tree2ed7dbcfb65625737ba3a466ea7195be8e21c660 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5eef4114802da5e5386f8092098551b2a2f52db3 (diff)
Tweak lifecycle of nav bar/view
- Don't wait for the nav bar view to be attached to register the bar with the controller. This might (repro is rare) address a crash where the view could be created twice (with the same nav bar layer which is rejected by WM), because the initial bar has been created, but wasn't cleaned up because it wasn't attached/registered yet before the second request to recreate - As as result of the above, it's possible that other code will reference the bar before it's attached, so the bar needs to set the view reference when it is created - Also remove some deferred callbacks when detaching the view which could cause the callbacks to reference a null view Bug: 188728214 Bug: 183947954 Test: atest SystemUITests with all nav modes Change-Id: I9c05b273251c9f95cb5d693402ae53b35cc94ab5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions