commit | 1710cbeb6e88200cdcda4292bc44aaeda1ac3daf | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Mon Jul 15 19:10:21 2024 -0700 |
committer | Brandon Dayauon <brdayauon@google.com> | Wed Jul 17 17:12:34 2024 -0700 |
tree | d5e02034f5a7ebf407dafe5251efd385522903e1 | |
parent | 0e5640376eb43b21bddf1aad7ba0bec19a3a9b4f [diff] |
Don't add floatingMaskView if it will not fit. See this screenshot for math explanation: https://screenshot.googleplex.com/9x256x5uk7qNZDg We use the Y values of the views to determine if the header will be clipped by the floating mask view. Also added logs for private space. bug:343478928 Test manually before: see bug. after: https://drive.google.com/file/d/1FZXDQG-hV-V3wErVR0-nVCMgjUDk910Z/view?usp=sharing Flag: com.android.launcher3.enable_private_space Change-Id: I025e4e62f9ba60e8493d2aceb139d2c4ed6a84dd