From 731c23e9b4e447d2c6e06a54cea0d3d41209666a Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Mon, 19 Nov 2012 14:44:27 -0800 Subject: [PATCH] Don't allow the upgrade activity to be backed out of --- astrid/src/com/todoroo/astrid/service/UpgradeService.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/astrid/src/com/todoroo/astrid/service/UpgradeService.java b/astrid/src/com/todoroo/astrid/service/UpgradeService.java index d35c8cdd6..8d088aa61 100644 --- a/astrid/src/com/todoroo/astrid/service/UpgradeService.java +++ b/astrid/src/com/todoroo/astrid/service/UpgradeService.java @@ -234,6 +234,11 @@ public final class UpgradeService { finish(); } } + + @Override + public void onBackPressed() { + // Don't allow the back button to finish this activity + } } /**