OSDN Git Service

Handle the SQLiteDatabase already-closed problem
authorSunny Shao <sunnyshao@google.com>
Mon, 18 Mar 2019 11:42:09 +0000 (19:42 +0800)
committerSunny Shao <sunnyshao@google.com>
Mon, 18 Mar 2019 11:42:09 +0000 (19:42 +0800)
commitc7e094001dadc82e772c524c5704bb4923811f14
treee5d19eeed8f48cb80154b96018de28be2c91e003
parent0b73c299936fe7edae20928ff0fdc8bf287054a3
Handle the SQLiteDatabase already-closed problem

Remove the database.close in code for handling the re-open an already-closed object:SQLiteDatabase
problem.

Bug: 124451874
Test: robotest
Change-Id: Iff8c0bc5ea092d42cff0a40dfa4324a4de7c90bc
src/com/android/settings/slices/SlicesIndexer.java