summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-07-12 13:11:58 +0000
committer Riddle Hsu <riddlehsu@google.com> 2022-07-12 13:53:31 +0000
commitafd99035e9098fc85d68245b3614a3887e3e284e (patch)
tree893bc78b215624be50cb95bdbdfed230e84eb158 /libs/androidfw/StringPool.cpp
parent64956e321730484083a84f478b7b25b306225eb7 (diff)
Reduce unnecessary overhead of screenshot bitmap from assist
Since hardware bitmap is introduced, it is already fast enough to pass across processes. And Bitmap#asShared becomes an unnecessary operation. This can save 70%+ execution time of requestAssistScreenshot. About from 65ms to 15ms. Bug: 201351584 Test: Measure the time from a test app with looping IWindowManager#requestAssistScreenshot(receiver). Change-Id: Ie5510eae789219e3afbe1a9ecf8911925207c0ba
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions