add a custom "Kp2a debug" icon for distinguishability. remove an Assert we don't use and which should fire during debugging.

This commit is contained in:
Philipp Crocoll
2025-03-18 16:43:47 +01:00
parent 6588f40007
commit 6d8407676d
5 changed files with 5 additions and 5 deletions

View File

@@ -35,8 +35,6 @@ namespace KeePassLib.Cryptography
{
get
{
Debug.Assert(m_dicts.Count > 0); // Should be initialized
int iMaxLen = 0;
foreach(int iLen in m_dicts.Keys)
{

View File

@@ -47,8 +47,8 @@
<permission android:description="@string/permission_desc2" android:icon="@drawable/ic_notify_locked" android:label="KP2A entry search" android:name="keepass2android.keepass2android_debug.permission.KP2aInternalSearch" android:protectionLevel="signature" />
<permission android:description="@string/permission_desc3" android:icon="@drawable/ic_launcher" android:label="KP2A choose autofill dataset" android:name="keepass2android.keepass2android_debug.permission.Kp2aChooseAutofill" android:protectionLevel="signature" />
<application
android:icon="@mipmap/ic_launcher_online"
android:roundIcon="@mipmap/ic_launcher_online_round"
android:icon="@mipmap/ic_launcher_debug"
android:roundIcon="@mipmap/ic_launcher_debug_round"
android:networkSecurityConfig="@xml/network_security_config"
>
<meta-data

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -93,11 +93,13 @@ namespace keepass2android
#if DEBUG
public const string PackagePart = "keepass2android_debug";
public const string Searchable = "@xml/searchable_debug";
public const int LauncherIcon = Resource.Mipmap.ic_launcher_debug;
#else
public const string PackagePart = "keepass2android";
public const string Searchable = "@xml/searchable";
public const int LauncherIcon = Resource.Mipmap.ic_launcher_online;
#endif
public const int LauncherIcon = Resource.Mipmap.ic_launcher_online;
public const int NotificationLockedIcon = Resource.Drawable.ic_notify_loaded;
public const int NotificationUnlockedIcon = Resource.Drawable.ic_notify_locked;