Merge "Fix DREAMING_STARTED broadcast." into tm-qpr-dev

This commit is contained in:
Darrell Shi
2022-10-28 15:19:19 +00:00
committed by Android (Google) Code Review

View File

@@ -240,6 +240,7 @@ final class DreamController {
if (mSentStartBroadcast) { if (mSentStartBroadcast) {
mContext.sendBroadcastAsUser(mDreamingStoppedIntent, UserHandle.ALL); mContext.sendBroadcastAsUser(mDreamingStoppedIntent, UserHandle.ALL);
mSentStartBroadcast = false;
} }
mListener.onDreamStopped(dream.mToken); mListener.onDreamStopped(dream.mToken);