]> hydra-www.ietfng.org Git - android-vcpass-oisafe/commit
OI Safe: moved almost all access of the database to a new class Passwords.
authorrmceoin <rmceoin@72b678ce-9140-0410-bee8-679b907dd61a>
Thu, 5 Mar 2009 13:56:00 +0000 (13:56 +0000)
committerrmceoin <rmceoin@72b678ce-9140-0410-bee8-679b907dd61a>
Thu, 5 Mar 2009 13:56:00 +0000 (13:56 +0000)
commit839fed6953f0fac28fdee670c206c4217d3e8b69
treea7bfd198534fafaf385263cfe867ee2a6432c35b
parent5cc94f3c857745ac19ea0fac5a191dded26bdebc
OI Safe: moved almost all access of the database to a new class Passwords.
This new class in turn interacts with DBHelper.   It retains all
PassEntry and CategoryEntry data in memory.  Encrypted data is only
decrypted as needed.   Decrypted data is kept in memory.  This serves
as a cache and results in a dramatic increase in speed on the
CategoryList and PassList activities upon repeat use.

All references to DBHelper for passwords or categories have been
removed from all activities and centralized inside of Passwords.  The
only remaining DBHelper calls are for the Salt and MasterPassword.

With this new class we should be able to more easily implement a
search activity.

Fixed an assortment of minor flaws surround orientation changes.
Possibly fixed I210.  Fixed I206 and I209.

This is a major overhaul.  Please help test for new bugs.

git-svn-id: http://openintents.googlecode.com/svn/trunk/Safe@1967 72b678ce-9140-0410-bee8-679b907dd61a
17 files changed:
AndroidManifest.xml
res/values/strings.xml
src/org/openintents/safe/AskPassword.java
src/org/openintents/safe/Backup.java
src/org/openintents/safe/CategoryEdit.java
src/org/openintents/safe/CategoryEntry.java
src/org/openintents/safe/CategoryList.java
src/org/openintents/safe/CryptoHelper.java
src/org/openintents/safe/DBHelper.java
src/org/openintents/safe/IntentHandler.java
src/org/openintents/safe/PackageAccessEntry.java [new file with mode: 0644]
src/org/openintents/safe/PassEdit.java
src/org/openintents/safe/PassEntry.java
src/org/openintents/safe/PassList.java
src/org/openintents/safe/PassView.java
src/org/openintents/safe/Passwords.java [new file with mode: 0644]
src/org/openintents/safe/Restore.java