diff options
| author | 2023-01-30 18:41:31 +0000 | |
|---|---|---|
| committer | 2023-01-30 18:53:16 +0000 | |
| commit | f233e0a787c2805de4e9c9c1e695b30e7d49b974 (patch) | |
| tree | 88071f89a33bd2c7df5f83213cb3512ab45a51db /libs/androidfw/StringPool.cpp | |
| parent | 8ec492a73991bbafcd48efacac54c8d1a54369f7 (diff) | |
Fixing mQsVisible state in split shade
mQsVisible/qsVisible was always true in split shade and that's not expected by its consumers.
It also means that part of the code was dead path for several months so I deleted that.
The main problem was calculateQsBottomPosition always returning max value.
This function looks like the value changes linearly but for split shade qsExpansion is either 0 or 1. And for 0, it still returned fully expanded QS value.
Fixes: 267190489
Test: testing different split shade transitions: unlocked->shade, keyguard->shade, locked shade -> bouncer, keyguard -> bouncer etc
Change-Id: Id06bb2b92e6d1648236ab45fa0d4de662ebf219c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions