OSDN Git Service

Fixed a bunch of problems when moving among agenda/day/week/month views.
[android-x86/packages-apps-Calendar.git] / src / com / android / calendar / Utils.java
index e301eb1..fbfcf34 100644 (file)
@@ -30,7 +30,7 @@ public class Utils {
 
         intent.setClassName(context, className);
         intent.putExtra(EVENT_BEGIN_TIME, time);
-        intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
+        intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP);
 
         context.startActivity(intent);
     }