summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/CalendarSettingsActivity.java
diff options
context:
space:
mode:
authorMichael Chan <mchan@android.com>2011-07-25 09:41:21 -0700
committerMichael Chan <mchan@android.com>2011-07-25 15:25:47 -0700
commit07d9fee87bc02849c0dd7b66326a320d53cf5479 (patch)
treea8f9e1bd0f31fe9fa366d21fc1352c9eb44c1667 /src/com/android/calendar/CalendarSettingsActivity.java
parentfbaf4a2ff4f5a819976af28eccce573589ab11a6 (diff)
downloadandroid_packages_apps_Calendar-07d9fee87bc02849c0dd7b66326a320d53cf5479.tar.gz
android_packages_apps_Calendar-07d9fee87bc02849c0dd7b66326a320d53cf5479.tar.bz2
android_packages_apps_Calendar-07d9fee87bc02849c0dd7b66326a320d53cf5479.zip
b/5072056 Avoid the Activity Picker by specifying the class in intents
Specific cases fixed: - Tap on the widget - Tap on an event from notification - Tap on Home/Up from Settings (tested tablet, phone is missing home/up button) - Tap on an event after search (phone) Change-Id: I4554726dd4a6af77cd83438b9ae3801ca15522d5
Diffstat (limited to 'src/com/android/calendar/CalendarSettingsActivity.java')
-rw-r--r--src/com/android/calendar/CalendarSettingsActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/calendar/CalendarSettingsActivity.java b/src/com/android/calendar/CalendarSettingsActivity.java
index d4147214..5d32d5a7 100644
--- a/src/com/android/calendar/CalendarSettingsActivity.java
+++ b/src/com/android/calendar/CalendarSettingsActivity.java
@@ -86,7 +86,7 @@ public class CalendarSettingsActivity extends PreferenceActivity {
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
- Intent launchIntent = new Intent();
+ Intent launchIntent = new Intent(this, AllInOneActivity.class);
launchIntent.setAction(Intent.ACTION_VIEW);
launchIntent.setData(Uri.parse("content://com.android.calendar/time"));
launchIntent.setFlags(