AI 144136: Make calendar widget correctly launch Calendar app instead of creating...
Jeffrey Sharkey [Wed, 1 Apr 2009 23:06:21 +0000 (16:06 -0700)]
  Fixes the following issues:
  - Calendar widget and calendar icon always launch to a specific calendar view--the view last selected by user.
  - Launching from both widget and app icon clears any existing activity stacks.
  - We correctly keeps the stack history when switching between activities using long-press-home-hardkey
  BUG=1752489

Automated import of CL 144136

AndroidManifest.xml

index c2da2da..80bb31d 100644 (file)
@@ -37,7 +37,8 @@
         <uses-library android:name="android.test.runner" />
 
         <activity android:name="LaunchActivity"
-            android:theme="@android:style/Theme.Light">
+            android:theme="@android:style/Theme.Light"
+            android:clearTaskOnLaunch="true">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.DEFAULT" />