From 54fd33789fd9098e200279fb86425ad4df7ca6a0 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 19 Oct 2014 08:46:38 +0200 Subject: [PATCH] Remove database checks (debug info) --- CHANGELOG.md | 1 + src/biz/bokhorst/xprivacy/PrivacyService.java | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52f8dc874..44a2bd607 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ See for more information about XPrivacy 3 [this FAQ](https://github.com/M66B/XPr **Next release** +* Fixed all problems reported through the debug info * Updated Norwegian translation [Open issues](https://github.com/M66B/XPrivacy/issues?state=open) diff --git a/src/biz/bokhorst/xprivacy/PrivacyService.java b/src/biz/bokhorst/xprivacy/PrivacyService.java index 9aa668873..7bf3da62c 100644 --- a/src/biz/bokhorst/xprivacy/PrivacyService.java +++ b/src/biz/bokhorst/xprivacy/PrivacyService.java @@ -265,20 +265,6 @@ public List check() throws RemoteException { } } - File dbFile = getDbFile(); - if (!dbFile.exists()) - listError.add("Database does not exists"); - if (!dbFile.canRead()) - listError.add("Database not readable"); - if (!dbFile.canWrite()) - listError.add("Database not writable"); - - SQLiteDatabase db = getDb(); - if (db == null) - listError.add("Database not available"); - else if (!db.isOpen()) - listError.add("Database not open"); - return listError; }