commit | 6382930df3837d3197b9d4342242dc7b49085eb4 | [log] [tgz] |
---|---|---|
author | Alex Salo <asalo@google.com> | Sat Apr 06 14:57:30 2019 -0700 |
committer | Alex Salo <asalo@google.com> | Tue Apr 09 16:43:10 2019 +0000 |
tree | ba8435812d595f1ca2107f85c309f30cb3ff76af | |
parent | a29d4340068943bc30508727d3d81da6f971e4cd [diff] |
Remove pending callback from AttentionManager a) PendingCalback -> CurrentCallback + isDispatched + isFufilled b) Simplify the cancellation logic. Only AttentionService should issue specific failure codes, Manager should only issue "CANCELLED" if can't reache the service Bug: 111939367 Test: manually verified the demo worked, working on both CTS and unit tests Change-Id: Ief63b01a958bd67badd4d7ed8df9749baabb16f4