Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/src/main/java/df/root/BootReceiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public void report(String msg) {

@Override
public void onReceive(Context context, Intent intent) {
if (!Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) {
return;
}
// Nothing can take the shellcode's /dev/df mutex a second time (see RootState), so a run
// started here would only hold a wakelock while it polls nodes that cannot move. Saying
// "already hooked, skipping" hides the one case a user needs in logcat: a boot that was
Expand Down