mycelium-com / wallet-android

Mycelium Bitcoin Wallet for Android
http://mycelium.com
Other
665 stars 322 forks source link

Make Mycelium Chrome OS ready (Android FLAG_SECURE?) #471

Open gordol opened 6 years ago

gordol commented 6 years ago

Hi all...

Chrome OS supports native Android apps lately...

However, there is an issue where the PIN entry screen doesn't appear if the app is running on an external display: https://bugs.chromium.org/p/chromium/issues/detail?id=852473

I'm savvy enough to have figured this out, but other users may not be, and my be confused...

According to the Android docs here: https://developer.android.com/reference/android/view/Display#FLAG_SECURE

An application can use the absence of this flag as a hint that it should not create secure surfaces or protected buffers on this display because the content may not be visible. For example, if the flag is not set then the application may choose not to show content on this display, show an informative error message, select an alternate content stream or adopt a different strategy for decoding content that does not rely on secure surfaces or protected buffers.

Perhaps Mycelium should show a note to users who are not on a "secure display", instead of just showing a blank box?

screenshot

sergeylappo commented 6 years ago

Thank you for the report. We would think how to deal with it.