Android 14: explicit mutable intents

pull/212/head
M66B 2 years ago
parent 2832d5e2b9
commit 7f6116f9d8

@ -5866,6 +5866,7 @@ class Core {
message.from != null && message.from.length > 0 &&
db.folder().getOutbox() != null) {
Intent reply = new Intent(context, ServiceUI.class)
.setPackage(BuildConfig.APPLICATION_ID)
.setAction("reply:" + message.id)
.putExtra("group", group);
PendingIntent piReply = PendingIntentCompat.getService(

@ -121,6 +121,7 @@ public class WidgetUnified extends AppWidgetProvider {
views.setRemoteAdapter(R.id.lv, service);
Intent thread = new Intent(context, ActivityView.class);
thread.setPackage(BuildConfig.APPLICATION_ID);
thread.setAction("widget:" + appWidgetId);
thread.putExtra("widget_account", account);
thread.putExtra("widget_folder", folder);

Loading…
Cancel
Save