From 3190ff5e6879217455fc3a1ac9563fa016952d8a Mon Sep 17 00:00:00 2001 From: Mygod Date: Wed, 9 May 2018 23:43:22 -0700 Subject: [PATCH] Fix inconsistencies --- .../java/com/github/shadowsocks/database/ProfileManager.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/src/main/java/com/github/shadowsocks/database/ProfileManager.kt b/mobile/src/main/java/com/github/shadowsocks/database/ProfileManager.kt index 413480cc..d8d24acc 100644 --- a/mobile/src/main/java/com/github/shadowsocks/database/ProfileManager.kt +++ b/mobile/src/main/java/com/github/shadowsocks/database/ProfileManager.kt @@ -84,9 +84,9 @@ object ProfileManager { PrivateDatabase.profileDao.isNotEmpty() } catch (ex: SQLException) { if (ex.cause is SQLiteCantOpenDatabaseException) throw IOException(ex) - Log.e(TAG, "isEmpty", ex) + Log.e(TAG, "isNotEmpty", ex) app.track(ex) - true + false } @Throws(IOException::class)