add package to lock database broadcast from keyboard

This commit is contained in:
Philipp Crocoll
2018-02-28 06:11:34 +01:00
parent d4bd4a8150
commit 8e23ebf3e4

View File

@@ -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);
}