diff options
author | Tiger Huang <tigerhuang@google.com> | 2020-05-06 01:02:31 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2020-05-07 14:01:38 +0800 |
commit | fbfc3abfde1e59c7e2b78b217be3d74e263a4843 (patch) | |
tree | 5b873f9529dd8bc28b994c2fed1da5cda6eb7867 /tools/stats_log_api_gen/java_writer.cpp | |
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
Diffstat (limited to 'tools/stats_log_api_gen/java_writer.cpp')
0 files changed, 0 insertions, 0 deletions