Merge pull request #2805 from PhilippC/feature/debug-improvements

Improve debugging experience
This commit is contained in:
PhilippC
2025-03-25 10:53:02 +01:00
committed by GitHub
6 changed files with 6 additions and 5 deletions

View File

@@ -20,6 +20,7 @@
# - nuget: restore NuGet packages # - nuget: restore NuGet packages
# - msbuild: build the project # - msbuild: build the project
# - apk: same as all # - apk: same as all
# - manifestlink: creates a symlink (to be used in building) to the AndroidManifest corresponding to the selected Flavor
# #
# - distclean: run a 'git clean -xdff'. Remove everyhing that is not in the git tree. # - distclean: run a 'git clean -xdff'. Remove everyhing that is not in the git tree.
# - clean: all clean_* targets below # - clean: all clean_* targets below

View File

@@ -35,8 +35,6 @@ namespace KeePassLib.Cryptography
{ {
get get
{ {
Debug.Assert(m_dicts.Count > 0); // Should be initialized
int iMaxLen = 0; int iMaxLen = 0;
foreach(int iLen in m_dicts.Keys) 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_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" /> <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 <application
android:icon="@mipmap/ic_launcher_online" android:icon="@mipmap/ic_launcher_debug"
android:roundIcon="@mipmap/ic_launcher_online_round" android:roundIcon="@mipmap/ic_launcher_debug_round"
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
> >
<meta-data <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 #if DEBUG
public const string PackagePart = "keepass2android_debug"; public const string PackagePart = "keepass2android_debug";
public const string Searchable = "@xml/searchable_debug"; public const string Searchable = "@xml/searchable_debug";
public const int LauncherIcon = Resource.Mipmap.ic_launcher_debug;
#else #else
public const string PackagePart = "keepass2android"; public const string PackagePart = "keepass2android";
public const string Searchable = "@xml/searchable"; public const string Searchable = "@xml/searchable";
public const int LauncherIcon = Resource.Mipmap.ic_launcher_online;
#endif #endif
public const int LauncherIcon = Resource.Mipmap.ic_launcher_online;
public const int NotificationLockedIcon = Resource.Drawable.ic_notify_loaded; public const int NotificationLockedIcon = Resource.Drawable.ic_notify_loaded;
public const int NotificationUnlockedIcon = Resource.Drawable.ic_notify_locked; public const int NotificationUnlockedIcon = Resource.Drawable.ic_notify_locked;