Fix to dismiss ToneDialog activity on tone timeout.

For shorter tone timeout durations, ToneDialog activity
is not getting destroyed due to this PlayTone GCF test
case 27.22.4.5.1.1 is failing.

Fix: Move the code to finish the ToneDialog activity from
     StkAppService.java to ToneDialog.java.
   - ToneDialog.java will keep track of the playtone timeout
     duration and finishes off the activity on timeout.

Change-Id: I83fd73f6b58ed9d12d2450e02222496621f5090e
CRs-Fixed: 2219787
2 files changed