commit | b2e2789f239b1742522ea6f73b64744723a925a1 | [log] [tgz] |
---|---|---|
author | Maryam Dehaini <mdehaini@google.com> | Wed Jul 12 15:36:54 2023 -0700 |
committer | Maryam Dehaini <mdehaini@google.com> | Wed Jul 19 16:41:34 2023 -0700 |
tree | 2f701bf41e2b1ad30a8506b3b434c2bce02855fb | |
parent | 025de17ac4fb91185363ebdeca64307117b18261 [diff] |
Remove caption when keyguard is visible Adds a DesktopModeKeyguardChangeListener to record if keyguard is visible and occluded. If it is, it means that the task is on top of the keyguard and caption is not usable and should be removed. Bug: 288910972 Test: Open calculator app and turn the screen off and then on. Caption should not be there Change-Id: I199f8233cf55d574bf8d045cb95a710008299b06