commit | 3ae824c79ffba25b0cda8b0300f41a28cfbfca7f | [log] [tgz] |
---|---|---|
author | Paul Westbrook <pwestbro@google.com> | Fri Apr 06 13:29:39 2012 -0700 |
committer | Paul Westbrook <pwestbro@google.com> | Fri Apr 06 13:29:39 2012 -0700 |
tree | 52c58d0701486c4fb0b354cac68fb9984cc852f0 | |
parent | b1f573c59ec20f9149443e1e0cc8b64ff3a07fea [diff] |
Don't allow monkeys to save drafts Bug: 6300751 Change-Id: Ic7a4ff4424132c2118ae3a1232bec250cddcb296
diff --git a/src/com/android/mail/compose/ComposeActivity.java b/src/com/android/mail/compose/ComposeActivity.java index e9405cb..a7a0e2c 100644 --- a/src/com/android/mail/compose/ComposeActivity.java +++ b/src/com/android/mail/compose/ComposeActivity.java
@@ -1586,7 +1586,7 @@ boolean orientationChanged) { // Check if user is a monkey. Monkeys can compose and hit send // button but are not allowed to send anything off the device. - if (!save && ActivityManager.isUserAMonkey()) { + if (ActivityManager.isUserAMonkey()) { return; }