diff --git a/src/java/KP2ASoftkeyboard_AS/app/src/main/java/keepass2android/softkeyboard/KP2AKeyboard.java b/src/java/KP2ASoftkeyboard_AS/app/src/main/java/keepass2android/softkeyboard/KP2AKeyboard.java index f83c425f..97cf2c3f 100644 --- a/src/java/KP2ASoftkeyboard_AS/app/src/main/java/keepass2android/softkeyboard/KP2AKeyboard.java +++ b/src/java/KP2ASoftkeyboard_AS/app/src/main/java/keepass2android/softkeyboard/KP2AKeyboard.java @@ -1325,7 +1325,9 @@ public class KP2AKeyboard extends InputMethodService String action = getPackageName()+".lock_database"; android.util.Log.i("KP2A", "sending broadcast with action "+action); - sendBroadcast(new Intent(action)); + Intent intent = new Intent(action); + intent.setPackage(getPackageName()); + sendBroadcast(intent); }