OSDN Git Service

am 6ed13804: Modified to allow launching of Maps where the Where field of an Calendar...
[android-x86/packages-apps-Calendar.git] / src / com / android / calendar / EventInfoActivity.java
index 551aca6..73daadc 100644 (file)
@@ -551,7 +551,7 @@ public class EventInfoActivity extends Activity implements View.OnClickListener,
             values.put(Events.SELF_ATTENDEE_STATUS, status);
             
             // Create a recurrence exception
-            Uri newUri = cr.insert(Events.CONTENT_URI, values);
+            cr.insert(Events.CONTENT_URI, values);
         } finally {
             cursor.close();
         }
@@ -586,7 +586,6 @@ public class EventInfoActivity extends Activity implements View.OnClickListener,
             return;
         }
         Resources res = getResources();
-        ContentResolver cr = getContentResolver();
 
         String eventName = mEventCursor.getString(EVENT_INDEX_TITLE);
         if (eventName == null || eventName.length() == 0) {