Browse Source

Add some logs

master
Gabriel Augendre 3 months ago
parent
commit
87a8eea0a4
  1. 2
      app/src/main/java/info/augendre/mmsforward/SmsReceiver.java

2
app/src/main/java/info/augendre/mmsforward/SmsReceiver.java

@ -4,12 +4,14 @@ import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.util.Log;
public class SmsReceiver extends MessageReceiver {
private final String TAG = "SmsReceiver";
@Override
public void onReceive(Context context, Intent intent) {
Log.d(TAG, "Got SMS");
Bundle extras = intent.getExtras();
if (extras == null) {
return;

Loading…
Cancel
Save