summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2019-02-13 12:20:01 +0800
committerLucas Dupin <dupin@google.com>2019-02-19 16:57:59 +0000
commit5abc71b27b5cd08148a277a8f378bbb5f4029835 (patch)
tree61d7900af5d57ef96b57193725a4086874fd5653 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent8098c5f1a82229229ea9de78f29001927d25f506 (diff)
Improve the performance when loading image wallpaper colors
When SystemUI start up, ColorExtractor will get wallpaper colors so status bar can use it to update theme, however, this will also block SystemUI start up process if the wallpaper is image wallpaper. In order to break the latency, we can extract getWallpaperColors method from ColorExtractor's contructor, and do it at another thread, so it won't block SystemUI start up. Bug: 124279857 Test: atest ColorExtractorTest Test: Manual test change theme feature can work normally. Merged-In: I8589b28a17b0a2b33b4bbbda2265080af983f26a Change-Id: I8589b28a17b0a2b33b4bbbda2265080af983f26a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions