commit | 053c97c5d9c9887fdabd375201d20e62248d7866 | [log] [tgz] |
---|---|---|
author | Tiger <tigerhuang@google.com> | Tue Mar 19 14:39:39 2024 +0800 |
committer | Tiger Huang <tigerhuang@google.com> | Tue Mar 19 06:53:38 2024 +0000 |
tree | da9ff79a59365a9f46ef43c6d41359eec33042c8 | |
parent | 6de35cc4b6274af6d586e1db1b6e1dc6f32c2fc1 [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