diff options
| author | Jorim Jaggi <jjaggi@google.com> | 2020-03-19 01:12:44 +0100 |
|---|---|---|
| committer | Jorim Jaggi <jjaggi@google.com> | 2020-03-23 22:31:52 +0100 |
| commit | 22488d31bbff0f5ad29d820f001ae827332354be (patch) | |
| tree | be30fca2d1ca9b47e01d28e8bf66a9a58a8167bb /libs/rs/rsg_ScriptJavaClass.cpp | |
| parent | 5bd455ac5f0f09280ae59e3eeb74ea7e3b7e4823 (diff) | |
Performance optimizations for new insets
- Prevent unnecesary dispatchApplyInsets caused by legacy system
also requesting inset changes
- Make insetsModified oneway. It's safe to do so because we
absolutely don't care about interleaving with other WindowSession
methods.
- Do not trigger layout if nothing relevant has changed
- Only trigger requestFitSystemWindows if state actually changed
Test: Systrace. Automated perf test will be added
Bug: 151865131
Change-Id: I24944875e739e4a74606e3a02bbf14585c1c13db
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions
