commit | c865881999723dc602f3c2fd46d453508192b54c | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Wed Feb 07 16:08:27 2018 -0800 |
committer | Tyler Gunn <tgunn@google.com> | Wed Feb 07 16:08:27 2018 -0800 |
tree | 852ce8c576a9357ab0953899b6afbda37d4f0497 | |
parent | af5b90ff458fcbf923542bc0e79b290b83d265ab [diff] [blame] |
Pass calling package for invocations of endCall API. Pass the calling package for debugging purposes. Test: Manual Bug: 73006395 Change-Id: I5ea7f1f0033438de3cdc2c47fc8a03f05d9e4590
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index 7e89745..c848f77 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java
@@ -1301,7 +1301,7 @@ public boolean endCall() { try { if (isServiceConnected()) { - return getTelecomService().endCall(); + return getTelecomService().endCall(mContext.getPackageName()); } } catch (RemoteException e) { Log.e(TAG, "Error calling ITelecomService#endCall", e);