android: protect wakelock acquisition from nulls #342

Closed
johnny9 wants to merge 1 commit from wakelock-nulls into main AGit
johnny9 commented 2023-06-03 02:08:17 +00:00 (Migrated from github.com)

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

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](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/unsecure_win_gui.zip?branch=pull/342) [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/342) [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/342) [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/342) [![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_32bit_apk.zip?branch=pull/342)
hebasto commented 2023-06-03 22:05:20 +00:00 (Migrated from github.com)

Need rebase.

Need rebase.
GBKS commented 2023-07-10 09:56:15 +00:00 (Migrated from github.com)

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

Very sparse information on this PR. Is there anything we should test?
hebasto commented 2023-07-12 10:02:46 +00:00 (Migrated from github.com)

Very sparse information on this PR

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

> Very sparse information on this PR Indeed. @johnny9 Mind adding some meat into the PR description?
Sign in to join this conversation.
No description provided.