commit | 9050c8ca8e8e148f3d68e11480481b9b211e15b4 | [log] [tgz] |
---|---|---|
author | Ramakant Singh <quic_ramakant@quicinc.com> | Tue Mar 28 14:30:01 2023 +0530 |
committer | Ramakant Singh <quic_ramakant@quicinc.com> | Tue Mar 28 14:59:29 2023 +0530 |
tree | c5544eb827ccc3f25812038a2191e485ee1eeffc | |
parent | febe096421ec6c0a6cb22695b401ae53bacde8f1 [diff] |
composer: Fix TUI state during unprepare Change-Id: Ib326836196e22ba9fb4264c05e4ec236081713b0
diff --git a/composer/hwc_display.cpp b/composer/hwc_display.cpp index a2a73d4..b35a41e 100755 --- a/composer/hwc_display.cpp +++ b/composer/hwc_display.cpp
@@ -3093,7 +3093,11 @@ } if (update_event_only) { - secure_event_ = secure_event; + if (secure_event == kTUITransitionPrepare) { + secure_event_ = kTUITransitionPrepare; + } else { + secure_event_ = kSecureEventMax; + } return kErrorNone; }