diff options
author | Erik <roboerik@android.com> | 2010-06-11 14:05:00 -0700 |
---|---|---|
committer | Erik <roboerik@android.com> | 2010-06-16 17:41:07 -0700 |
commit | eca82e9468c002590045338f98588ad3ce1a0bb3 (patch) | |
tree | dde7b67c077936e56a8f9a38f782ad16892e0ed3 /src/com/android/calendar/EventInfoActivity.java | |
parent | c055239901b20cbcb17b30f249e8657df5c68fed (diff) | |
download | android_packages_apps_Calendar-eca82e9468c002590045338f98588ad3ce1a0bb3.tar.gz android_packages_apps_Calendar-eca82e9468c002590045338f98588ad3ce1a0bb3.tar.bz2 android_packages_apps_Calendar-eca82e9468c002590045338f98588ad3ce1a0bb3.zip |
Creates an EditEventView with as little app logic as possible
This is work on separating the UI and the logic for Calendar. The view
should be responsible only for updating a model in response to user interaction
and notifying the controller when it is finished. All other work should be
handled at the fragment or activity level. This version does not introduce the
use of fragments. They will come in the next version. It does make all the event
queries asynchronous.
Change-Id: If967c77f39bbbe09490a5fe5e78151e828c8e6cf
Diffstat (limited to 'src/com/android/calendar/EventInfoActivity.java')
-rw-r--r-- | src/com/android/calendar/EventInfoActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/calendar/EventInfoActivity.java b/src/com/android/calendar/EventInfoActivity.java index b7bd5b12..32b8e004 100644 --- a/src/com/android/calendar/EventInfoActivity.java +++ b/src/com/android/calendar/EventInfoActivity.java @@ -805,7 +805,7 @@ public class EventInfoActivity extends Activity implements View.OnClickListener, Intent intent = new Intent(Intent.ACTION_EDIT, uri); intent.putExtra(Calendar.EVENT_BEGIN_TIME, mStartMillis); intent.putExtra(Calendar.EVENT_END_TIME, mEndMillis); - intent.setClass(EventInfoActivity.this, EditEvent.class); + intent.setClass(EventInfoActivity.this, EditEventActivity.class); startActivity(intent); finish(); } |