mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-27 20:36:46 -08:00
Stop tracing search building.
This commit is contained in:
1 parent
f09e8733ef
commit
b71bbaff54
3 files changed
+4
-16
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.keepass"
|
||||
android:versionName="1.5.2" android:versionCode="43">
|
||||
android:versionName="1.5.3" android:versionCode="44">
|
||||
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>
|
||||
<supports-screens
|
||||
android:smallScreens="true"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
KeePassDroid (1.5.3)
|
||||
* Remove debug tracing
|
||||
|
||||
KeePassDroid (1.5.2)
|
||||
* Various crash fixes
|
||||
* Fix group and entry deletion
|
||||
|
||||
@@ -32,7 +32,6 @@ import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Debug;
|
||||
|
||||
import com.keepassdroid.database.PwDatabase;
|
||||
import com.keepassdroid.database.PwEntry;
|
||||
@@ -107,12 +106,6 @@ public class Database {
|
||||
|
||||
Importer imp = ImporterFactory.createImporter(bis, debug);
|
||||
|
||||
|
||||
/*
|
||||
ImporterV3 Importer;
|
||||
Importer = (ImporterV3) imp; // Remove me when V4 support is in
|
||||
*/
|
||||
|
||||
bis.reset(); // Return to the start
|
||||
|
||||
pm = imp.openDatabase(bis, password, keyfile, status);
|
||||
@@ -130,23 +123,15 @@ public class Database {
|
||||
*/
|
||||
public void buildSearchIndex(Context ctx) {
|
||||
|
||||
Debug.startMethodTracing("search");
|
||||
searchHelper = new SearchDbHelper(ctx);
|
||||
|
||||
initSearch();
|
||||
|
||||
searchHelper.open();
|
||||
searchHelper.insertEntry(pm.getEntries());
|
||||
/*for ( int i = 0; i < pm.entries.size(); i++) {
|
||||
PwEntryV3 entry = pm.entries.get(i);
|
||||
if ( ! entry.isMetaStream() ) {
|
||||
searchHelper.insertEntry(entry);
|
||||
}
|
||||
} */
|
||||
searchHelper.close();
|
||||
|
||||
indexBuilt = true;
|
||||
Debug.stopMethodTracing();
|
||||
}
|
||||
|
||||
public PwGroupV3 Search(String str) {
|
||||
|
||||
Reference in new issue
Block a user