OSDN Git Service

Clear mHasResult if the result is dispatched
authorTony Mak <tonymak@google.com>
Fri, 18 Mar 2016 18:24:13 +0000 (18:24 +0000)
committerTony Mak <tonymak@google.com>
Fri, 18 Mar 2016 18:44:57 +0000 (18:44 +0000)
commitb27d5b2007020e9911aaab57161bced168d3b99c
tree1f8a832e36831c1745b0c611800b13355cf0407d
parentb56d3a6c33f9d548247cbf8ed4894a3f4227b0e5
Clear mHasResult if the result is dispatched

The bug is because we dispatch the result again in setListener.
We should reset mHasResult if the result is dispatched already.
This bug is actually not work-challenge specific, I can reproduce it
in the setting to change screen lock.

Bug: 27242673
Change-Id: I29d2769a16c53d7103dafe1811bc808d634a8d85
src/com/android/settings/CredentialCheckResultTracker.java