Use of Android log in BootReceiver
This commit is contained in:
parent
1168faa345
commit
e9f4817969
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class BootReceiver extends BroadcastReceiver {
|
||||||
@Override
|
@Override
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
if (intent.getAction().equalsIgnoreCase(Intent.ACTION_SHUTDOWN)) {
|
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();
|
LinphoneManager.destroy();
|
||||||
} else {
|
} else {
|
||||||
String path = context.getFilesDir().getAbsolutePath() + "/.linphonerc";
|
String path = context.getFilesDir().getAbsolutePath() + "/.linphonerc";
|
||||||
|
|
Loading…
Reference in a new issue