Use current time in notification setwhen.
The text of the notification will still say the most recent location, but in going from fullpower to dead I want the time of the notification itself to be the moment of rip.
This commit is contained in:
		
							parent
							
								
									548dcf2c58
								
							
						
					
					
						commit
						ccde7c9f81
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -380,7 +380,7 @@ class TrackerService: Service() | |||
| 
 | ||||
|     private fun displayNotification(): Notification | ||||
|     { | ||||
|         notification_builder.setWhen(currentBestLocation.time) | ||||
|         notification_builder.setWhen(System.currentTimeMillis()) | ||||
|         if (shouldCreateNotificationChannel()) | ||||
|         { | ||||
|             createNotificationChannel() | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue