OSDN Git Service
(root)
/
android-x86
/
packages-apps-Calendar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Quick fix to add safer time checking for time from intents.
[android-x86/packages-apps-Calendar.git]
/
src
/
com
/
android
/
calendar
/
Utils.java
diff --git
a/src/com/android/calendar/Utils.java
b/src/com/android/calendar/Utils.java
index
7294714
..
aa48fe0
100644
(file)
--- a/
src/com/android/calendar/Utils.java
+++ b/
src/com/android/calendar/Utils.java
@@
-95,7
+95,7
@@
public class Utils {
}
}
}
- if (millis
== -1
) {
+ if (millis
<= 0
) {
millis = System.currentTimeMillis();
}
return millis;