Files
frameworks_base/core/java/android/database
Fyodor Kupolov fd9c4a54cf Close idle sqlite connections
Idle connections are now closed 30 seconds after being returned to the
pool. In-memory databases and databased with attached databases
 are exempt from closing idle connections.

The new behavior is enabled on all devices (temporarily).
Use "setprop persist.debug.sqlite.close_idle_connections 0" to disable

Test: manual - devices boots, no app crashes, auth(accounts.db) works
Test: database CTS tests + SQLiteConnectionPoolTest + run_newdb_perf_test.sh
Bug: 63398887
Change-Id: Idc11e49149292d219a15502c1707c40ef27e3ddb
2017-07-18 18:21:10 -07:00
..
2017-07-18 18:21:10 -07:00