summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author liulvping <liulvping@xiaomi.com> 2022-01-21 10:13:19 +0800
committer lvping liu <liulvping@xiaomi.com> 2022-10-14 13:38:59 +0000
commit6d235fba1e76e16265219c8cc8a729003dd62e19 (patch)
treece41b7803af2da6d6ca4e536cd4638403207d6fa /libs/hwui/FrameInfoVisualizer.cpp
parent82393b1d55b551c8f91ece45cc7b302aebdb11cf (diff)
add fsync when copy native libs
In some low probability cases, after installing apps the device may restart without sync the storage, then the jni libs is damaged. The file size is ok, but the content all filled by 0x00. Bug: 214270558 Test: 1. adb install test.apk with jni libs 2. Enforce restart the device 3. check if the libs is damaged Change-Id: Ia82cfc0d3a14c729c9ac14b367b456d65e67e058 Signed-off-by: liulvping <liulvping@xiaomi.com>
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions