diff options
author | Yurii Zubrytskyi <zyy@google.com> | 2020-04-07 15:35:21 -0700 |
---|---|---|
committer | Yurii Zubrytskyi <zyy@google.com> | 2020-04-10 12:30:49 -0700 |
commit | da208016d65c331218ed3a1acd2f45d5ca4ce006 (patch) | |
tree | 8ebc8a5a7a7d400e5e9ef3988331ac7043b54d17 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b78a0f462e20676e4758a3f966c6f898cf95a2a7 (diff) |
[incfs] Make native library extraction async
IncrementalService can create the library files beforehand, but
delay filling in their data. As it takes quite a while in
general (over a second in cases when the phone is busy), it's
better to run the unzipping and filling in a separate thread
and only make sure it finishes before the whole installation
process is complete.
This speeds up the megacity.apk installation by ~250-300ms,
1000-1100ms -> 750-800ms
Bug: 153513507
Test: adb install megacity.apk
Change-Id: Ia44f7e45b9e0abaebdfb6fe5352f9dcf29ab4ece
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions