commit | 5ba812b9e9c886425a5736c2ae6fbe0fc94afd8b | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Jan 10 13:33:12 2011 -0800 |
committer | Romain Guy <romainguy@google.com> | Mon Jan 10 13:33:12 2011 -0800 |
tree | e1094bd0a0d54344a70357e5f1177a90c788bc43 | |
parent | 58f750ad145e6920c1c75bed8b333e54d78f3fed [diff] |
Make sure onCancelled() is called if cancel() is called early. In some situations, when cancel() was called before the task had a chance to start its execution, onCancelled() would not be invoked. Change-Id: I6c1f4cd28a209fb8cc779bb212f500565dfceaae