gabriel2mm commented on PR #1939:
URL: https://github.com/apache/cordova-android/pull/1939#issuecomment-4535669359

   > It might be safe to use 0 (`0x00000000`, or `#00000000` which is 
transparent: `rgba(0, 0, 0, 0)`) as a sentinel value. That's what's being 
proposed as a "null" value for the Android WebView implementation of 
theme-color handling.
   
   I had written this to you before, but I changed my mind afterward, and I’ll 
try to explain why:
   
   Using 0 does not work simply because, on some Android devices, 0x00000000 
represents the initial state of the status bar. See:
   
   <img width="509" height="872" alt="{20738F37-5FB1-4E83-978E-1CA23B20DA16}" 
src="https://github.com/user-attachments/assets/c3472999-c684-4da7-94c2-fd183d33eb39";
 />
   
   When attempting to change the color and then revert it back to the initial 
state, we get blocked due to the sentinel value being 0.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to