2015-11-21 1 views
1

Dans l'application Android, le code déclenche une notification silencieuse lorsque l'application passe en arrière-plan. En Delphi XE8 il fonctionne très bien - pas de son, pas de vibration, mais il se comporte différemment dans Delphi XE10 - pas de son, mais il y a des vibrations [vibration est désactivée dans les permissions de l'utilisateur]. Comment puis-je supprimer les vibrations?Comment tirer une notification dans delphi XE10 seattle sans vibration

begin 
MyNotification := NotificationCtr.CreateNotification; 
try 
MyNotification.Name := ' Name'; 
MyNotification.AlertBody := 'AlertBody'; 
MyNotification.Number := 0; 
MyNotification.EnableSound := false; 
MyNotification.FireDate := Now; 
NotificationCtr.ScheduleNotification(MyNotification); 
finally 
MyNotification.DisposeOf; 
end; 
end; 

Répondre

1

Ceci est signalé comme bug RSP-12396. Il a été corrigé dans Seattle 10 Update 1 publié cette semaine.