mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-20 08:08:04 -05:00
[app] log when receiving BOOT_COMPLETED
This commit is contained in:
@@ -21,6 +21,7 @@ package org.fdroid.fdroid.receiver;
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.util.Log;
|
||||
|
||||
import org.fdroid.fdroid.UpdateService;
|
||||
import org.fdroid.fdroid.Utils;
|
||||
@@ -31,6 +32,7 @@ public class StartupReceiver extends BroadcastReceiver {
|
||||
@Override
|
||||
public void onReceive(Context ctx, Intent intent) {
|
||||
if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) {
|
||||
Log.e(TAG, "Received ACTION_BOOT_COMPLETED intent, scheduling update!!!");
|
||||
UpdateService.schedule(ctx);
|
||||
} else {
|
||||
Utils.debugLog(TAG, "received unsupported Intent " + intent);
|
||||
|
||||
Reference in New Issue
Block a user