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

Commit d13e2133 authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

am 79484171: am f010b5d2: Change EndCallBehavior while in UTS test mode.

Merge commit '794841710d11f59fd1736d1c889cc9b91f38f78e'

* commit '794841710d11f59fd1736d1c889cc9b91f38f78e':
  Change EndCallBehavior while in UTS test mode.
parents c33cb711 72c94b9f
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
@@ -2339,6 +2339,10 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            // This code brings home to the front or, if it is already
            // at the front, puts the device to sleep.
            try {
                if (SystemProperties.getInt("persist.sys.uts-test-mode", 0) == 1) {
                    /// Roll back EndcallBehavior as the cupcake design to pass P1 lab entry.
                    Log.d(TAG, "UTS-TEST-MODE");
                } else {
                    ActivityManagerNative.getDefault().stopAppSwitches();
                    sendCloseSystemWindows();
                    Intent dock = createHomeDockIntent();
@@ -2351,6 +2355,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                            return false;
                        }
                    }
                }
                int result = ActivityManagerNative.getDefault()
                        .startActivity(null, mHomeIntent,
                                mHomeIntent.resolveTypeIfNeeded(mContext.getContentResolver()),