commit | d9b18355771a2e7a08617903f0e04cea4f041095 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Feb 03 16:49:47 2022 -0800 |
committer | Lucas Dupin <dupin@google.com> | Fri Feb 04 16:28:40 2022 -0800 |
tree | 2edbd8eb4f4297d04ed2293865e2aa591016e1c1 | |
parent | ee754300bfdfbb93b4829fe4861d67a6b6fd2142 [diff] |
Reduce cost of FooterView#showHistory FooterView#showHistory could take up to 3ms to execute due to resource fetching. The strings are now cached and we abort earlier when possible. Now the method is executed withing 800us Bug: 210432290 Test: atest FooterViewTest Test: https://ui.perfetto.dev/#!/?s=cf1a328f424429fd30f131cd31c7d17c8ff412eb5ae1cfeec272c5f2d5a1c5e Change-Id: If09c47646e168e8dded17b59be8573d0a9386eb9