commit | 5a291d93713b4362ce0c5aecd7604efbacbaf07d | [log] [tgz] |
---|---|---|
author | fionaxu <fionaxu@google.com> | Fri Jan 12 16:39:47 2018 -0800 |
committer | fionaxu <fionaxu@google.com> | Tue Jan 16 18:02:02 2018 -0800 |
tree | 6614714a186a49b900549ffa73369f4dd7d4706e | |
parent | 53cb6aa35ae129a0512141eceaf8a8e8d39a9c15 [diff] |
batch the multiple insertion in one transaction this will help improve efficieny (1/10 time). In the long term, we could investigate moving all db function to handlerthread to unblock main thread. Bug: 71899210 Bug: 64131637 Test: Manual test Change-Id: I3534122a799af827a2318d0f835732e21323d143 (cherry picked from commit edc27c8605a2fac8b12836e77e97c9199596b002) Merged-in: I3534122a799af827a2318d0f835732e21323d143