From 6f383058383bd19c3cb0b4d54f1483b31340289b Mon Sep 17 00:00:00 2001 From: Philipp Crocoll Date: Sat, 24 May 2014 05:32:52 +0200 Subject: [PATCH] changed broadcast strings to include the full package name. This avoids issues when using KP2A and KP2A offline in parallel. --- src/keepass2android/intents/Intents.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/keepass2android/intents/Intents.cs b/src/keepass2android/intents/Intents.cs index 888e455c..76c40b0b 100644 --- a/src/keepass2android/intents/Intents.cs +++ b/src/keepass2android/intents/Intents.cs @@ -27,15 +27,15 @@ namespace keepass2android /// Broadcast this intent to lock the database (with quick unlock if enabled) - public const String LockDatabase = "keepass2android.lock_database"; + public const String LockDatabase = "keepass2android."+AppNames.PackagePart+"lock_database"; /// Broadcast this intent to close the database (no quick unlock, full close) - public const String CloseDatabase = "keepass2android.close_database"; + public const String CloseDatabase = "keepass2android." + AppNames.PackagePart + "close_database"; /// This intent will be broadcast once the database has been locked. Sensitive information displayed should be hidden and unloaded. - public const String DatabaseLocked = "keepass2android.database_locked"; + public const String DatabaseLocked = "keepass2android." + AppNames.PackagePart + "database_locked"; /// This intent will be broadcast once the keyboard data has been cleared - public const String KeyboardCleared = "keepass2android.keyboard_cleared"; + public const String KeyboardCleared = "keepass2android." + AppNames.PackagePart + "keyboard_cleared"; public const String CopyUsername = "keepass2android.copy_username"; public const String CopyPassword = "keepass2android.copy_password"; @@ -53,6 +53,7 @@ namespace keepass2android public const String ShowNotification = "keepass2android.show_notification"; public const String UpdateKeyboard = "keepass2android.update_keyboard"; public const String CopyStringToClipboard = "keepass2android.copy_string_to_clipboard"; + public const String ActivateKeyboard = "keepass2android.activate_keyboard"; } }