mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 05:07:40 +00:00
Bump targetSdk from 33 to 35
This commit is contained in:
parent
d605977b91
commit
283956c107
@ -51,7 +51,7 @@ android {
|
|||||||
compileSdk = 34
|
compileSdk = 34
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 33
|
targetSdk = 35
|
||||||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
||||||
}
|
}
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
package org.kde.kdeconnect.Plugins.SMSPlugin;
|
package org.kde.kdeconnect.Plugins.SMSPlugin;
|
||||||
|
|
||||||
|
import static androidx.core.content.ContextCompat.RECEIVER_EXPORTED;
|
||||||
import static org.kde.kdeconnect.Plugins.TelephonyPlugin.TelephonyPlugin.PACKET_TYPE_TELEPHONY;
|
import static org.kde.kdeconnect.Plugins.TelephonyPlugin.TelephonyPlugin.PACKET_TYPE_TELEPHONY;
|
||||||
|
|
||||||
import android.Manifest;
|
import android.Manifest;
|
||||||
@ -375,7 +376,7 @@ public class SMSPlugin extends Plugin {
|
|||||||
|
|
||||||
IntentFilter refreshFilter = new IntentFilter(Transaction.REFRESH);
|
IntentFilter refreshFilter = new IntentFilter(Transaction.REFRESH);
|
||||||
refreshFilter.setPriority(500);
|
refreshFilter.setPriority(500);
|
||||||
context.registerReceiver(messagesUpdateReceiver, refreshFilter);
|
context.registerReceiver(messagesUpdateReceiver, refreshFilter, RECEIVER_EXPORTED);
|
||||||
|
|
||||||
Looper helperLooper = SMSHelper.MessageLooper.getLooper();
|
Looper helperLooper = SMSHelper.MessageLooper.getLooper();
|
||||||
ContentObserver messageObserver = new MessageContentObserver(new Handler(helperLooper));
|
ContentObserver messageObserver = new MessageContentObserver(new Handler(helperLooper));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user