commit | adde150c02e45ff6219445c4a5b04d2e9ee1f1b4 | [log] [tgz] |
---|---|---|
author | Florian Salbrechter <fsalbrechter@google.com> | Mon Feb 08 13:36:43 2016 +0000 |
committer | Florian Salbrechter <fsalbrechter@google.com> | Mon Feb 08 17:03:23 2016 +0000 |
tree | 27f8a60681b1dc5386d5a5cbbb4aa28ccbb3f86a | |
parent | 3b686b3c01785a1ed77335391ffb79f7a18e8514 [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)