Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ce06e559 authored by Michael W's avatar Michael W Committed by Michael Bestas
Browse files

CallLog: Get rid of warning

* ContextImpl: Calling a method in the system process
  without a qualified user

Change-Id: Ibc44e240c5f8d9290d53d0ee009120e5b34152bf
parent 41f44f96
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -636,7 +636,8 @@ public final class CallLogManager extends CallsManagerListenerBase {
        Intent callAddIntent = new Intent(ACTION_CALLS_TABLE_ADD_ENTRY);
        callAddIntent.putExtra(CALL_TYPE, callType);
        callAddIntent.putExtra(CALL_DURATION, duration);
        mContext.sendBroadcast(callAddIntent, PERMISSION_PROCESS_CALLLOG_INFO);
        mContext.sendBroadcastAsUser(callAddIntent, UserHandle.SYSTEM,
                PERMISSION_PROCESS_CALLLOG_INFO);
    }

    private String getCountryIsoFromCountry(Country country) {