Fix caching runtime toggle
1. When caching is disabled, the override info must be cleared before repainting the screen. Otherwise, ignored layers may persist in HWC. 2. Dispatch the caching toggle on the main thread, to de-risk threading issues. Bug: 188611599 Test: adb shell service call SurfaceFlinger i32 1040 0, then check dumpsys Change-Id: I6926e69fb9762209c958beceb2679cd7a5806306 Merged-In: I6926e69fb9762209c958beceb2679cd7a5806306
Loading
Please register or sign in to comment