commit | 067902ce7ba4ce248d557afe7dedc776442b33b4 | [log] [tgz] |
---|---|---|
author | Florian Salbrechter <fsalbrechter@google.com> | Mon Feb 08 13:36:43 2016 +0000 |
committer | Florian Salbrechter <fsalbrechter@google.com> | Tue Feb 16 17:37:36 2016 +0000 |
tree | 14fbabdb20141820c28d0aca231e6d741abe3822 | |
parent | bc56ca34aaa02bc4c1f83d0aad621a1eef45aab8 [diff] |
Fix bug in IntentService and Service example code. Use Thread.sleep instead of Object.wait which simplifies the example. Also there is a tiny chance, that wait will be called with 0, which blocks forever. Change-Id: I4cf90a33089a64bdf802620350f76af08f15f721 (cherry picked from commit 77d8857ed58503669e0659989c02fb7f1ca936b4)