Messaging: Bump sdk (>=33, <=34)
* Since we already compile with sdk "current", this is just the next logical step * We skip 35 for now since edge-to-edge stuff can be done later * It also gives AS the possibility to recognize necessary steps * WRITE_SMS permission removed in API 23 Change-Id: Ia567fa9e42772f0b6d6e6fdc0d21b5635ff9dcc5
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2015 The Android Open Source Project
|
||||
* Copyright (C) 2024 The LineageOS Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -163,7 +164,7 @@ public class MmsSender {
|
||||
context,
|
||||
0 /*request code*/,
|
||||
sentIntent,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
|
||||
|
||||
// Send the message
|
||||
MmsManager.sendMultimediaMessage(subId, context, contentUri, locationUrl,
|
||||
@@ -262,7 +263,7 @@ public class MmsSender {
|
||||
context,
|
||||
0 /*request code*/,
|
||||
downloadedIntent,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
|
||||
|
||||
MmsManager.downloadMultimediaMessage(subId, context, contentLocation, contentUri,
|
||||
downloadedPendingIntent);
|
||||
|
||||
Reference in New Issue
Block a user