Fix crash from asynchronous GPU metrics
Making the scope more accurate that only acquire the lock when trying to access frame info in FrameInfoVisualizer, then make it irrelevant to the real draw operation. Bug: 317995179 Test: 1.going to developer options 2. swapping the "profile hwui" option from "none" to "bars" and back a couple times, no crash Change-Id: I069a28a7e847c0c3fca94fd9c43e95382f501b80 Merged-In: I069a28a7e847c0c3fca94fd9c43e95382f501b80
Loading
Please register or sign in to comment