summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/Utils.java
diff options
context:
space:
mode:
authorMichael Chan <mchan@android.com>2009-08-14 13:03:39 -0700
committerMichael Chan <mchan@android.com>2009-09-04 17:42:42 -0700
commit23f400cdb34b08d9003f4a96fca5976ad632e4ce (patch)
treea4134a927bb856934b6d5ea62c835974df7b7a3e /src/com/android/calendar/Utils.java
parent0b69502f4fd1a9d5111af2f89faca76b39006fde (diff)
downloadandroid_packages_apps_Calendar-23f400cdb34b08d9003f4a96fca5976ad632e4ce.tar.gz
android_packages_apps_Calendar-23f400cdb34b08d9003f4a96fca5976ad632e4ce.tar.bz2
android_packages_apps_Calendar-23f400cdb34b08d9003f4a96fca5976ad632e4ce.zip
Fixed a bunch of problems when moving among agenda/day/week/month views.
b/1438315 Fixed problems introduced in the new back behavior. b/2077287 Fixed the problem where you sometimes end up in 1969 when switch among the agenda/day/week/month views. b/2076791 The selected date is preserved when switch to various views. Removed scroll bar in agenda view as the header was not a static list of events anymore Cleaned up some TODOs.
Diffstat (limited to 'src/com/android/calendar/Utils.java')
-rw-r--r--src/com/android/calendar/Utils.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/calendar/Utils.java b/src/com/android/calendar/Utils.java
index 5899d3d4..fbfcf342 100644
--- a/src/com/android/calendar/Utils.java
+++ b/src/com/android/calendar/Utils.java
@@ -30,9 +30,7 @@ public class Utils {
intent.setClassName(context, className);
intent.putExtra(EVENT_BEGIN_TIME, time);
- // 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);
+ intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP);
context.startActivity(intent);
}