voice-react-native-sdk 1.6.2-fork.23-hack → 1.6.2-fork.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -174,10 +174,9 @@ class NotificationUtility {
|
|
|
174
174
|
.addPerson(incomingCaller)
|
|
175
175
|
.setStyle(NotificationCompat.CallStyle.forIncomingCall(
|
|
176
176
|
incomingCaller, piRejectIntent, piAcceptIntent));
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
// with the system call UI, preventing the answer/reject buttons from appearing.
|
|
177
|
+
if (isFullscreenIntentEnabled(context)) {
|
|
178
|
+
builder.setFullScreenIntent(piForegroundIntent, true);
|
|
179
|
+
}
|
|
181
180
|
return builder.build();
|
|
182
181
|
}
|
|
183
182
|
|
|
@@ -214,9 +213,9 @@ class NotificationUtility {
|
|
|
214
213
|
.setOngoing(true)
|
|
215
214
|
.addPerson(activeCaller)
|
|
216
215
|
.setStyle(NotificationCompat.CallStyle.forOngoingCall(activeCaller, piEndCallIntent));
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
if (isFullscreenIntentEnabled(context)) {
|
|
217
|
+
builder.setFullScreenIntent(piForegroundIntent, true);
|
|
218
|
+
}
|
|
220
219
|
return builder.build();
|
|
221
220
|
}
|
|
222
221
|
|
|
@@ -253,9 +252,9 @@ class NotificationUtility {
|
|
|
253
252
|
.setOngoing(true)
|
|
254
253
|
.addPerson(activeCaller)
|
|
255
254
|
.setStyle(NotificationCompat.CallStyle.forOngoingCall(activeCaller, piEndCallIntent));
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
255
|
+
if (isFullscreenIntentEnabled(context)) {
|
|
256
|
+
builder.setFullScreenIntent(piForegroundIntent, true);
|
|
257
|
+
}
|
|
259
258
|
return builder.build();
|
|
260
259
|
}
|
|
261
260
|
|
|
@@ -329,7 +329,8 @@ public class VoiceService extends Service {
|
|
|
329
329
|
createOrReplaceNotification(callRecord.getNotificationId(), notification);
|
|
330
330
|
|
|
331
331
|
// stop active sound (if any)
|
|
332
|
-
|
|
332
|
+
// 11-14-25: We can keep the sound playing to indicate that the call is still pending pickup.
|
|
333
|
+
//VoiceApplicationProxy.getMediaPlayerManager().stop();
|
|
333
334
|
|
|
334
335
|
// notify JS layer
|
|
335
336
|
sendJSEvent(
|