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

Commit 13bd3273 authored by Shruthi Krishna's avatar Shruthi Krishna
Browse files

Merge tag 'android-5.0.2_r1' into merge_branch

Android 5.0.2 release 1

* tag 'android-5.0.2_r1':
  Switch from CALL -> CALL_PRIVILEGED

Change-Id: I1641f2b165f1cf1c45ce85a62013d19fe68c2ddb
parents d59f046d 140247da
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
    coreApp="true">

    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
    <uses-permission android:name="android.permission.READ_CALL_LOG" />
+2 −1
Original line number Diff line number Diff line
@@ -71,7 +71,8 @@ public class DialerUtils {
     */
    public static void startActivityWithErrorToast(Context context, Intent intent, int msgId) {
        try {
            if (Intent.ACTION_CALL.equals(intent.getAction())) {
            if (Intent.ACTION_CALL.equals(intent.getAction())
                    || Intent.ACTION_CALL_PRIVILEGED.equals(intent.getAction())) {
                // All dialer-initiated calls should pass the touch point to the InCallUI
                Point touchPoint = TouchPointManager.getInstance().getPoint();
                if (touchPoint.x != 0 || touchPoint.y != 0) {