summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2024-03-19 14:39:39 +0800
committer Tiger Huang <tigerhuang@google.com> 2024-03-19 06:53:38 +0000
commit053c97c5d9c9887fdabd375201d20e62248d7866 (patch)
treeda9ff79a59365a9f46ef43c6d41359eec33042c8 /libs/androidfw/StringPool.cpp
parent6de35cc4b6274af6d586e1db1b6e1dc6f32c2fc1 (diff)
Move the alpha value to the correct bits
The alpha value should be at top 8 bits. The original implementation of navigation bar color scrim missed 2 zeros of SCRIM_ALPHA, which made the color always transparent. Fix: 330257475 Bug: 309578419 Test: Open a hello-world app in 3-button nav mode. See if nav bar has enough contrast. Change-Id: Ifab587bc1b92225c4dc6ee79558a2ce628b47304
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions