commit | fbfc3abfde1e59c7e2b78b217be3d74e263a4843 | [log] [tgz] |
---|---|---|
author | Tiger Huang <tigerhuang@google.com> | Wed May 06 01:02:31 2020 +0800 |
committer | Tiger Huang <tigerhuang@google.com> | Thu May 07 14:01:38 2020 +0800 |
tree | 5b873f9529dd8bc28b994c2fed1da5cda6eb7867 | |
parent | 28382c8f84e410285ca594b43f296e78526461fd [diff] |
Prevent unnecessary updateRequestedState If the client didn't change any insets, we don't need to update the requested state while receiving controls. The requested state at the server side can still be up-to-date for free. This CL also sends the requested state to window manager if the local state is not the same as the dispatched state. Fix: 155752039 Test: atest InsetsControllerTest Change-Id: I676a88d3ef823d8717d03e80261e6e7a5f7e8c5f