Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am lorneliechty on github.
  • I am no1dad (https://keybase.io/no1dad) on keybase.
  • I have a public key ASCR2EeKRcdBGuvora3YvcxY2tYvdHyJkrd-ythgP8ZYwwo

To claim this, I am signing this object:

@lorneliechty
lorneliechty / BootReceiver.java
Created October 24, 2016 13:29
These files enable an Android app to run a callback if and only if the device has completed its boot sequence.
/* Copyright (C) 2016 Bypass Mobile, LLC.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package com.bypassmobile.peripherals.deviceinfo.usb.boot;
import android.content.BroadcastReceiver;
import android.content.Context;