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

Commit 491e7412 authored by Thomas Stuart's avatar Thomas Stuart Committed by Android (Google) Code Review
Browse files

Merge "change getCallState from getPackageName to getOpPackageName"

parents cc6f6e08 de1f1f22
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1851,7 +1851,7 @@ public class TelecomManager {
        ITelecomService service = getTelecomService();
        ITelecomService service = getTelecomService();
        if (service != null) {
        if (service != null) {
            try {
            try {
                return service.getCallStateUsingPackage(mContext.getPackageName(),
                return service.getCallStateUsingPackage(mContext.getOpPackageName(),
                        mContext.getAttributionTag());
                        mContext.getAttributionTag());
            } catch (RemoteException e) {
            } catch (RemoteException e) {
                Log.d(TAG, "RemoteException calling getCallState().", e);
                Log.d(TAG, "RemoteException calling getCallState().", e);