diff options
author | Michael Chan <mchan@android.com> | 2009-08-28 05:51:54 -0700 |
---|---|---|
committer | Michael Chan <mchan@android.com> | 2009-08-28 05:51:54 -0700 |
commit | c6023058da92fc25a87499aa0e8132a1700fd0fd (patch) | |
tree | b42027bc5d31d6ed8d915eb393bc70c3251de7e4 /src/com/android/calendar/Utils.java | |
parent | 5627b829fa83766ae3d30f49f50aa6adbbd31fac (diff) | |
download | android_packages_apps_Calendar-c6023058da92fc25a87499aa0e8132a1700fd0fd.tar.gz android_packages_apps_Calendar-c6023058da92fc25a87499aa0e8132a1700fd0fd.tar.bz2 android_packages_apps_Calendar-c6023058da92fc25a87499aa0e8132a1700fd0fd.zip |
Revert the new back behavior change. It was causing views to not go to the right time.
b/2077287 b/2076791
Diffstat (limited to 'src/com/android/calendar/Utils.java')
-rw-r--r-- | src/com/android/calendar/Utils.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/calendar/Utils.java b/src/com/android/calendar/Utils.java index e301eb1b..5899d3d4 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); } |