Android LayoutParams FLAG_SECURE causes windows to be blank on external display
Reported by
linuxi...@gmail.com,
Jun 13 2018
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; CrOS x86_64 10452.99.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.203 Safari/537.36 Steps to reproduce the problem: 1. Install Mycelium Bitcoin wallet. 2. Move window to external display. 3. Try to set a pin from the settings. What is the expected behavior? Pin entry box should be visible. What went wrong? Pin entry box is blank. Did this work before? N/A Chrome version: 66.0.3359.203 Channel: n/a OS Version: 10452.99.0 Flash Version: Perhaps this is related? https://bugs.chromium.org/p/chromium/issues/detail?id=791495 I'm guessing this may be due to some kind of feature to handle secure overlays or something along those lines?
,
Jun 13 2018
Hope this helps: https://github.com/mycelium-com/wallet-android/blob/a3370e393176f90bd49d324c7803d0dab9056d9c/mbw/src/main/java/com/mycelium/wallet/PinDialog.java#L74 Looks like Mycelium is using the following feature for the PIN entry dialog: https://developer.android.com/reference/android/view/WindowManager.LayoutParams#FLAG_SECURE Sooo... Maybe this is a good thing? Not sure... Could be a bug, I just can't tell.
,
Jun 13 2018
If someone can update the title of this ticket, please? "Android LayoutParams FLAG_SECURE causes windows to be blank on external display". At least this comes up in search now for "FLAG_SECURE". Thanks all...
,
Jun 13 2018
I also opened an upstream issue here: https://github.com/mycelium-com/wallet-android/issues/471 If this is indeed a feature, and not a bug, please feel free to close this issue. Thanks!
,
Jun 15 2018
Eternal display with Arc, this should be yours.
,
Jun 15 2018
,
Jun 15 2018
Right, this is working as intended. Secure surfaces are blacked out in screenshots and on unsecure external displays without HDCP support.
,
Jun 15 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by linuxi...@gmail.com
, Jun 13 2018