OSDN Git Service
(root)
/
android-x86
/
packages-apps-Calendar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c89f750
)
Round off new events created from the month view... if the user previously did "Go...
author
Michael Chan
<mchan@android.com>
Thu, 1 Oct 2009 07:16:42 +0000
(
00:16
-0700)
committer
Michael Chan
<mchan@android.com>
Thu, 1 Oct 2009 07:16:42 +0000
(
00:16
-0700)
Change-Id: I6148797f9d8c36c65828738fb5ad236577556bcd
src/com/android/calendar/MonthActivity.java
patch
|
blob
|
history
diff --git
a/src/com/android/calendar/MonthActivity.java
b/src/com/android/calendar/MonthActivity.java
index
7bb80c4
..
62f8602
100644
(file)
--- a/
src/com/android/calendar/MonthActivity.java
+++ b/
src/com/android/calendar/MonthActivity.java
@@
-122,6
+122,9
@@
public class MonthActivity extends Activity implements ViewSwitcher.ViewFactory,
public void goToToday() {
Time now = new Time();
now.set(System.currentTimeMillis());
+ now.minute = 0;
+ now.second = 0;
+ now.normalize(false);
TextView title = (TextView) findViewById(R.id.title);
title.setText(Utils.formatMonthYear(now));