commit | cba189344d82753ccce0cc5479771c5a78e85c56 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Wed Jun 28 14:14:44 2017 -0700 |
committer | Tony Wickham <twickham@google.com> | Wed Jun 28 14:14:44 2017 -0700 |
tree | 8a52f769b2cf873aa5c9705efb45b51d21a07d36 | |
parent | 59fbea393b91b6156e42d2487cde6c3827fb7574 [diff] |
Ensure notification listener is connected before getting notifications There was a potential race condition where we would try to do a full refresh of notifications before the listener was connected. Now we skip the full refresh if we aren't connected, which is fine because we also do a full refresh in onListenerConnected() anyway. Bug: 62107069 Change-Id: I2fe4f49eb8a840230d32034be11fe7765a366e75