diff options
| author | 2025-01-15 10:20:33 -0800 | |
|---|---|---|
| committer | 2025-01-15 10:20:33 -0800 | |
| commit | 5253dcb17332c6fcb94e49a53f0dc86c2589d204 (patch) | |
| tree | c778c7638d4cdeb6a846a4e840dba1bf1906266b /libs/hwui/DeferredLayerUpdater.cpp | |
| parent | dd4984e9733e3f3b3e35af8dd4af28aed2634061 (diff) | |
Correct SQLiteOpenHelper lock creation
This changes SQLiteOpenHelper to synchronize on the raw name of the
database instead of on the canonical file path.
It is possible for an app to create an open helper with two different
db paths that map to the same file on disk; in that case
SQLiteOpenHelper remains thread-unsafe.
Flag: android.database.sqlite.concurrent_open_helper
Bug: 335904370
Bug: 390061581
Test: atest
* CtsDatabaseTestCases
* FrameworksCoreTests:android.database
* CellBroadcastReceiverMTS
Change-Id: I084942d73bdba0adf5a7634b8378e9b397fcc5fa
Diffstat (limited to 'libs/hwui/DeferredLayerUpdater.cpp')
0 files changed, 0 insertions, 0 deletions