summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2025-02-21 10:53:54 -0800
committer Lee Shombert <shombert@google.com> 2025-02-21 11:44:40 -0800
commit15ea401f724ce694d1686771f2bcad8dcbccdd5d (patch)
tree26628c253c220382cb412a1e3df45edd740b2f47 /libs/androidfw/ResourceTimer.cpp
parente3ac890d841b42fd803b781f4f12a5c2cfebd34b (diff)
Close idle database connections in the background
Idle database connections are now closed on the background thread instead of the main thread. Closing a database connection can be IO intensive if it triggers a WAL checkpoint; do not do this on the main thread. Idle timeouts are deprecated as of API level 29, so this may not have much of an effect. Flag: EXEMPT bug-fix Bug: 397982577 Test: atest * FrameworksCoreTests:android.database * CtsDatabaseTestCases Change-Id: I7bd49075f978ece5b33bc491487e69c9237843df
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions