summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-09-11 07:55:21 -0700
committer Lee Shombert <shombert@google.com> 2024-09-11 07:55:21 -0700
commit223ba7e160e49f4b11d4699ba3e65ca303e82ee7 (patch)
tree4c31a16af6e8e82f95872bd16440c2a87144275f /libs/input/PointerController.cpp
parent353572f31d2a0c99f6c35b9d583ef2326009cff0 (diff)
Report source of db closure
If a database is closed directly, record the caller as a stack. Include the caller in the exception that is thrown when an operation is attempted on a closed database. If the exception percolates up to the framework, the framework will log the exception and its cause. This covers the common case of a database being closed because corruption was detected. It makes it easier for triage to understand why the database was closed unexpectedly. Test: atest * FrameworksCoreTests:android.database * CtsDatabaseTestCases Flag: EXEMPT bugfix Bug: 338297108 Change-Id: Id9bf31177881644922f31d2a353aafd1aab2823e
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions