Skip to content

Commit

Permalink
Added arrived status message.
Browse files Browse the repository at this point in the history
  • Loading branch information
alimoncul committed Jun 16, 2019
1 parent 40f414a commit a179c7b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ protected void onHandleIntent(Intent intent) {
intService.setAction("com.teamfire.picontroller");
intService.putExtra("DATA", "Waiting for vehicle location...");
sendBroadcast(intService);
} else if (message.contains("ARRIVED")) {
Intent intService = new Intent();
intService.setAction("com.teamfire.picontroller");
intService.putExtra("DATA", "Vehicle arrived to target location.");
sendBroadcast(intService);
}
}
} catch (Exception e) {
Expand Down

0 comments on commit a179c7b

Please sign in to comment.