mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Android 14: explicit mutable intents
This commit is contained in:
parent
2832d5e2b9
commit
7f6116f9d8
2 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue