commit | 6107bab041fb7d851fbf865b7310d294aae970c8 | [log] [tgz] |
---|---|---|
author | Ihab Awad <ihab@google.com> | Mon Aug 18 09:23:25 2014 -0700 |
committer | Ihab Awad <ihab@google.com> | Tue Aug 19 10:51:00 2014 -0700 |
tree | f9f818cd2bd9c689428a1948668c2cd8449a85a9 | |
parent | ccc8c29af113b68a337cf4e38fae5d06531b3cf8 [diff] |
ConnectionService API has only one completed callback (1/3) Refactor ConnectionService API so it has only one "completed" callback, and connection state and failure codes indicates what happened. Previous design where we had separate callbacks for failure, cancellation and success was error prone because it was easy to forget to implement one of them. Bug: 16993846 Bug: 17070939 Change-Id: I84bf5d041cf78193ccf80db201b08db3b7014830