Skip to content

Instantly share code, notes, and snippets.

View HeyLookItsBrandon's full-sized avatar

Brandon Rich HeyLookItsBrandon

View GitHub Profile
@HeyLookItsBrandon
HeyLookItsBrandon / Vulkan crash trace.txt
Created March 22, 2018 08:09
Trace from a Vulkan crash
03-22 01:03:20.358 23996-24013/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4559414c5f4b66 in tid 24013 (vulkan.template)
[ 03-22 01:03:20.359 214: 214 W/ ]
debuggerd: handling request: pid=23996 uid=10094 gid=10094 tid=24013
03-22 01:03:20.370 24015-24015/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-22 01:03:20.370 24015-24015/? A/DEBUG: Build fingerprint: 'NVIDIA/darcy/darcy:7.0/NRD90M/2427173_1038.2788:user/release-keys'
03-22 01:03:20.370 24015-24015/? A/DEBUG: Revision: '0'
03-22 01:03:20.370 24015-24015/? A/DEBUG: ABI: 'arm64'
03-22 01:03:20.371 24015-24015/? A/DEBUG: pid: 23996, tid: 24013, name: vulkan.template >>> com.whatever.vulkan <<<
03-22 01:03:20.371 24015-24015/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4559414c5f4b66
@HeyLookItsBrandon
HeyLookItsBrandon / gist:9693410
Last active November 12, 2020 05:33
Toggleable Android RadioButton
import android.content.Context;
import android.util.AttributeSet;
import android.widget.RadioButton;
import android.widget.RadioGroup;
/** Extension of Android's RadioButton that restores CompoundButton's check toggling
* behavior, allowing a checked RadioButton to be unchecked by tapping on it again. */
public class ToggleableRadioButton extends RadioButton {
public ToggleableRadioButton(Context context) {
super(context);