Panagiotis Triantafyllou

minor fixes

...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
2 2
3 ext { 3 ext {
4 PUBLISH_GROUP_ID = 'ly.warp' 4 PUBLISH_GROUP_ID = 'ly.warp'
5 - PUBLISH_VERSION = '4.5.5.2' 5 + PUBLISH_VERSION = '4.5.5.3'
6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
7 } 7 }
8 8
......
...@@ -251,7 +251,7 @@ public class FCMBaseMessagingService extends FirebaseMessagingService { ...@@ -251,7 +251,7 @@ public class FCMBaseMessagingService extends FirebaseMessagingService {
251 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { 251 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
252 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 252 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE);
253 } else { 253 } else {
254 - pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 254 + pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
255 } 255 }
256 b.setContentIntent(pi); 256 b.setContentIntent(pi);
257 // b.setFullScreenIntent(pi, true); 257 // b.setFullScreenIntent(pi, true);
...@@ -442,7 +442,7 @@ public class FCMBaseMessagingService extends FirebaseMessagingService { ...@@ -442,7 +442,7 @@ public class FCMBaseMessagingService extends FirebaseMessagingService {
442 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { 442 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
443 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 443 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE);
444 } else { 444 } else {
445 - pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 445 + pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
446 } 446 }
447 b.setContentIntent(pi); 447 b.setContentIntent(pi);
448 // b.setFullScreenIntent(pi, true); 448 // b.setFullScreenIntent(pi, true);
......
...@@ -297,7 +297,7 @@ public class HMSBaseMessagingService extends HmsMessageService { ...@@ -297,7 +297,7 @@ public class HMSBaseMessagingService extends HmsMessageService {
297 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { 297 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
298 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 298 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE);
299 } else { 299 } else {
300 - pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 300 + pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
301 } 301 }
302 b.setContentIntent(pi); 302 b.setContentIntent(pi);
303 // b.setFullScreenIntent(pi, true); 303 // b.setFullScreenIntent(pi, true);
...@@ -486,7 +486,7 @@ public class HMSBaseMessagingService extends HmsMessageService { ...@@ -486,7 +486,7 @@ public class HMSBaseMessagingService extends HmsMessageService {
486 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { 486 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
487 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 487 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE);
488 } else { 488 } else {
489 - pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 489 + pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
490 } 490 }
491 b.setContentIntent(pi); 491 b.setContentIntent(pi);
492 // b.setFullScreenIntent(pi, true); 492 // b.setFullScreenIntent(pi, true);
......
...@@ -177,7 +177,7 @@ public abstract class WarpBaseIntentService extends IntentService { ...@@ -177,7 +177,7 @@ public abstract class WarpBaseIntentService extends IntentService {
177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { 177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
178 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 178 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE);
179 } else { 179 } else {
180 - pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 180 + pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
181 } 181 }
182 b.setContentIntent(pi); 182 b.setContentIntent(pi);
183 // b.setFullScreenIntent(pi, true); 183 // b.setFullScreenIntent(pi, true);
...@@ -361,7 +361,7 @@ public abstract class WarpBaseIntentService extends IntentService { ...@@ -361,7 +361,7 @@ public abstract class WarpBaseIntentService extends IntentService {
361 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { 361 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
362 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 362 pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE);
363 } else { 363 } else {
364 - pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); 364 + pi = PendingIntent.getActivity(context, uid, newIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
365 } 365 }
366 b.setContentIntent(pi); 366 b.setContentIntent(pi);
367 // b.setFullScreenIntent(pi, true); 367 // b.setFullScreenIntent(pi, true);
......
...@@ -30,7 +30,7 @@ public class WarpConstants { ...@@ -30,7 +30,7 @@ public class WarpConstants {
30 /** 30 /**
31 * The version of the SDK installed in the device 31 * The version of the SDK installed in the device
32 */ 32 */
33 - public static final String SDK_VERSION = "4.5.5.2"; 33 + public static final String SDK_VERSION = "4.5.5.3";
34 34
35 /** 35 /**
36 * The URL of the server where it should ping 36 * The URL of the server where it should ping
......