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

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

am f010b5d2: Change EndCallBehavior while in UTS test mode.

Merge commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e' into eclair-plus-aosp

* commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e':
  Change EndCallBehavior while in UTS test mode.
parents 9bc50b04 d2e6a33c
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
@@ -2162,6 +2162,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();
@@ -2174,6 +2178,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                            return false;
                        }
                    }
                }
                int result = ActivityManagerNative.getDefault()
                        .startActivity(null, mHomeIntent,
                                mHomeIntent.resolveTypeIfNeeded(mContext.getContentResolver()),