bitcoin-core / gui-qml

Bitcoin GUI (experimental QML-based fork)
MIT License
107 stars 40 forks source link

android: protect wakelock acquisition from nulls #342

Closed johnny9 closed 11 months ago

johnny9 commented 1 year ago

This is to protect against these services returning null pointers. A compliant Android system should never return a null pointer but this prevents a crash on the chance that they do.

Windows Intel macOS Apple Silicon macOS ARM64 Android ARM32 Android

hebasto commented 1 year ago

Need rebase.

GBKS commented 1 year ago

Very sparse information on this PR. Is there anything we should test?

hebasto commented 1 year ago

Very sparse information on this PR

Indeed. @johnny9 Mind adding some meat into the PR description?