mirror of
https://github.com/moparisthebest/keepass2android
synced 2025-02-16 15:00:12 -05:00
Bug fixes and debugging, -> v. 0.8.4b
This commit is contained in:
parent
b750dcfa31
commit
c289346538
@ -15,14 +15,16 @@ This file is part of Keepass2Android, Copyright 2013 Philipp Crocoll. This file
|
||||
along with Keepass2Android. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Android.Content;
|
||||
using Java.Lang;
|
||||
using KeePassLib;
|
||||
using KeePassLib.Keys;
|
||||
using KeePassLib.Serialization;
|
||||
using keepass2android.Io;
|
||||
using Exception = System.Exception;
|
||||
using String = System.String;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@ -35,7 +37,13 @@ namespace keepass2android
|
||||
public HashSet<PwGroup> Dirty = new HashSet<PwGroup>(new PwGroupEqualityFromIdComparer());
|
||||
public PwGroup Root;
|
||||
public PwDatabase KpDatabase;
|
||||
public IOConnectionInfo Ioc { get { return KpDatabase.IOConnectionInfo; } }
|
||||
public IOConnectionInfo Ioc
|
||||
{
|
||||
get
|
||||
{
|
||||
return KpDatabase == null ? null : KpDatabase.IOConnectionInfo;
|
||||
}
|
||||
}
|
||||
public string LastFileVersion;
|
||||
public SearchDbHelper SearchHelper;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:versionCode="17"
|
||||
android:versionName="0.8.4"
|
||||
android:versionCode="18"
|
||||
android:versionName="0.8.4b"
|
||||
package="keepass2android.keepass2android"
|
||||
android:installLocation="auto">
|
||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14" />
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:versionCode="17"
|
||||
android:versionName="0.8.4"
|
||||
android:versionCode="18"
|
||||
android:versionName="0.8.4b"
|
||||
package="keepass2android.keepass2android_nonet"
|
||||
android:installLocation="auto">
|
||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14" />
|
||||
|
12
src/keepass2android/Resources/Resource.designer.cs
generated
12
src/keepass2android/Resources/Resource.designer.cs
generated
@ -945,8 +945,8 @@ namespace keepass2android
|
||||
// aapt resource value: 0x7f0d00a5
|
||||
public const int menu_cancel_edit = 2131558565;
|
||||
|
||||
// aapt resource value: 0x7f0d00aa
|
||||
public const int menu_change_master_key = 2131558570;
|
||||
// aapt resource value: 0x7f0d00a9
|
||||
public const int menu_change_master_key = 2131558569;
|
||||
|
||||
// aapt resource value: 0x7f0d009e
|
||||
public const int menu_donate = 2131558558;
|
||||
@ -963,11 +963,11 @@ namespace keepass2android
|
||||
// aapt resource value: 0x7f0d00a8
|
||||
public const int menu_search = 2131558568;
|
||||
|
||||
// aapt resource value: 0x7f0d00a9
|
||||
public const int menu_search_advanced = 2131558569;
|
||||
|
||||
// aapt resource value: 0x7f0d00ab
|
||||
public const int menu_sort = 2131558571;
|
||||
public const int menu_search_advanced = 2131558571;
|
||||
|
||||
// aapt resource value: 0x7f0d00aa
|
||||
public const int menu_sort = 2131558570;
|
||||
|
||||
// aapt resource value: 0x7f0d00a2
|
||||
public const int menu_suggest_improvements = 2131558562;
|
||||
|
@ -311,7 +311,21 @@ namespace keepass2android
|
||||
Kp2aLog.Log("Creating application "+PackageName+". Version=" + PackageManager.GetPackageInfo(PackageName, 0).VersionCode);
|
||||
|
||||
Kp2a.OnCreate(this);
|
||||
|
||||
AndroidEnvironment.UnhandledExceptionRaiser += MyApp_UnhandledExceptionHandler;
|
||||
}
|
||||
|
||||
|
||||
void MyApp_UnhandledExceptionHandler(object sender, RaiseThrowableEventArgs e)
|
||||
{
|
||||
Kp2aLog.Log(e.Exception.ToString());
|
||||
// Do your error handling here.
|
||||
throw e.Exception;
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
AndroidEnvironment.UnhandledExceptionRaiser -= MyApp_UnhandledExceptionHandler;
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
public override void OnTerminate() {
|
||||
|
Loading…
Reference in New Issue
Block a user