- Save/Restore viewType across rotation and quitting
- Read desired viewType from intent (from Widget for example)
- Added a new viewType DETAIL for detail viewing which is the last of Agenda or Day. This is typically triggered from widget and tapping on a day in month view)
- Added SelectedTime (not in use right now)
- Removed Calendar AllInOne Icon in launcher. Back to just one Calendar.
- Fix the problem the time not displaying properly after rotation
- Cleaned up the old detailview stuff, yuck.
- Removed unused code from CalendarApplication and CalendarData.
Change-Id: I78a2172da282fedfc2559cde529a4f034430912b
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f6bef41..6214297 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -43,8 +43,13 @@
(android.test) library. -->
<uses-library android:name="android.test.runner" />
- <activity android:name="LaunchActivity"
- android:theme="@android:style/Theme.NoDisplay">
+ <activity
+ android:name="AllInOneActivity"
+ android:theme="@style/CalendarTheme.WithActionBar">
+ </activity>
+
+ <activity-alias android:name="LaunchActivity"
+ android:targetActivity=".AllInOneActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
@@ -57,23 +62,7 @@
<data android:host="com.android.calendar" />
<data android:scheme="content"/>
</intent-filter>
- </activity>
-
- <activity
- android:name="AllInOneActivity"
- android:label="@string/app_aio_label"
- android:theme="@style/CalendarTheme.WithActionBar">
- <intent-filter>
- <action
- android:name="android.intent.action.MAIN" />
- <category
- android:name="android.intent.category.DEFAULT" />
- <category
- android:name="android.intent.category.LAUNCHER" />
- <category
- android:name="android.intent.category.BROWSABLE" />
- </intent-filter>
- </activity>
+ </activity-alias>
<!-- Make all activities a searchable context -->
<meta-data android:name="android.app.default_searchable"