From c6023058da92fc25a87499aa0e8132a1700fd0fd Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Fri, 28 Aug 2009 05:51:54 -0700 Subject: [PATCH] Revert the new back behavior change. It was causing views to not go to the right time. b/2077287 b/2076791 --- src/com/android/calendar/Utils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/android/calendar/Utils.java b/src/com/android/calendar/Utils.java index e301eb1..5899d3d 100644 --- a/src/com/android/calendar/Utils.java +++ b/src/com/android/calendar/Utils.java @@ -30,7 +30,9 @@ public class Utils { intent.setClassName(context, className); intent.putExtra(EVENT_BEGIN_TIME, time); - intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); + // TODO Setting this flag will cause the EVENT_BEGIN_TIME to be lost for existing activities + // Need to pass the EVENT_BEGIN_TIME via other methods or use another flag + // intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); context.startActivity(intent); } -- 2.11.0