Use of Android log in BootReceiver

This commit is contained in:
Erwan Croze 2017-05-18 15:44:22 +02:00
parent 1168faa345
commit e9f4817969

View file

@ -31,7 +31,7 @@ public class BootReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getAction().equalsIgnoreCase(Intent.ACTION_SHUTDOWN)) {
Log.w("Device is shutting down, destroying LinphoneCore to unregister");
android.util.Log.d("LinphoneBootReceiver", "Device is shutting down, destroying LinphoneCore to unregister");
LinphoneManager.destroy();
} else {
String path = context.getFilesDir().getAbsolutePath() + "/.linphonerc";