Merge "Fixed bug in APC rate limiting fix."
This commit is contained in:
commit
a3c549fe9c
1 changed files with 0 additions and 8 deletions
|
@ -125,15 +125,7 @@ Status ConfirmationManager::cancelConfirmationPrompt(const sp<IBinder>& listener
|
|||
void ConfirmationManager::cancelPrompt() {
|
||||
mMutex.lock();
|
||||
mRateLimiting.cancelPrompt();
|
||||
if (mCurrentListener != nullptr) {
|
||||
mCurrentListener->unlinkToDeath(mDeathRecipient);
|
||||
mCurrentListener = nullptr;
|
||||
}
|
||||
sp<IConfirmationUI> confirmationUI = mCurrentConfirmationUI;
|
||||
if (mCurrentConfirmationUI != nullptr) {
|
||||
mCurrentConfirmationUI->unlinkToDeath(this);
|
||||
mCurrentConfirmationUI = nullptr;
|
||||
}
|
||||
mMutex.unlock();
|
||||
if (confirmationUI != nullptr) {
|
||||
confirmationUI->abort();
|
||||
|
|
Loading…
Reference in a new issue