diff --git a/build.gradle b/build.gradle index 294d111a..385d1877 100644 --- a/build.gradle +++ b/build.gradle @@ -59,7 +59,7 @@ android { namespace "com.irccloud.android" defaultConfig { - versionCode 360 + versionCode 361 versionName "4.33" minSdkVersion 22 targetSdkVersion 34 diff --git a/src/com/irccloud/android/activity/QuickReplyActivity.java b/src/com/irccloud/android/activity/QuickReplyActivity.java index 7af23c08..cc8cef25 100644 --- a/src/com/irccloud/android/activity/QuickReplyActivity.java +++ b/src/com/irccloud/android/activity/QuickReplyActivity.java @@ -220,6 +220,7 @@ public boolean onKey(View view, int keyCode, KeyEvent event) { public void onClick(View view) { if (message.getText() != null && message.getText().length() > 0) { Intent i = new Intent(RemoteInputService.ACTION_REPLY); + i.setPackage(getPackageName()); i.setComponent(new ComponentName(getPackageName(), RemoteInputService.class.getName())); i.putExtras(getIntent()); i.putExtra("reply", message.getText().toString()); diff --git a/src/com/irccloud/android/data/collection/NotificationsList.java b/src/com/irccloud/android/data/collection/NotificationsList.java index ae96fc2f..33f6a2b0 100644 --- a/src/com/irccloud/android/data/collection/NotificationsList.java +++ b/src/com/irccloud/android/data/collection/NotificationsList.java @@ -447,6 +447,7 @@ private void showOtherNotifications() { ticker = n.getNick() + " is trying to contact you on " + n.getNetwork(); Intent i = new Intent(RemoteInputService.ACTION_REPLY); + i.setPackage(IRCCloudApplication.getInstance().getPackageName()); i.setComponent(new ComponentName(IRCCloudApplication.getInstance().getApplicationContext().getPackageName(), RemoteInputService.class.getName())); i.putExtra("cid", n.getCid()); i.putExtra("eid", n.getEid()); @@ -461,6 +462,7 @@ private void showOtherNotifications() { text = n.getNick() + " has been added to your accept list"; ticker = n.getNick() + " has been added to your accept list on " + n.getNetwork(); Intent i = new Intent(RemoteInputService.ACTION_REPLY); + i.setPackage(IRCCloudApplication.getInstance().getPackageName()); i.setComponent(new ComponentName(IRCCloudApplication.getInstance().getApplicationContext().getPackageName(), RemoteInputService.class.getName())); i.putExtra("cid", n.getCid()); i.putExtra("eid", n.getEid()); @@ -861,6 +863,7 @@ public int compare(Notification notification, Notification t1) { title = last.getNetwork(); Intent replyIntent = new Intent(RemoteInputService.ACTION_REPLY); + replyIntent.setPackage(IRCCloudApplication.getInstance().getPackageName()); replyIntent.putExtra("bid", last.getBid()); replyIntent.putExtra("cid", last.getCid()); replyIntent.putExtra("eids", eids); @@ -1011,6 +1014,7 @@ public void onImageFetched(Bitmap image) { title = last.getNetwork(); Intent replyIntent = new Intent(RemoteInputService.ACTION_REPLY); + replyIntent.setPackage(IRCCloudApplication.getInstance().getPackageName()); replyIntent.putExtra("bid", last.getBid()); replyIntent.putExtra("cid", last.getCid()); replyIntent.putExtra("network", last.getNetwork());