diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-31 17:59:53 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-31 17:59:53 -0700 |
commit | 3161d6dc2e1141bff233e8238d29c68b21c216cc (patch) | |
tree | 199bcff1f17b03e6dd04740fa9fafae5a31dc1f4 /core | |
parent | 1e6e2489ae778130969a99c2557fca9997ff33d5 (diff) | |
parent | 37296dc4edae8d1383179e956dff2ecf806ac166 (diff) | |
download | frameworks_base-3161d6dc2e1141bff233e8238d29c68b21c216cc.zip frameworks_base-3161d6dc2e1141bff233e8238d29c68b21c216cc.tar.gz frameworks_base-3161d6dc2e1141bff233e8238d29c68b21c216cc.tar.bz2 |
Merge change 9430
* changes:
Update docs.
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/app/Activity.java | 1 | ||||
-rw-r--r-- | core/java/android/os/SystemClock.java | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 4ac3b9e..2f79fe9 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -2394,6 +2394,7 @@ public class Activity extends ContextThemeWrapper * * @param id The id of the managed dialog. * + * @see Dialog * @see #onCreateDialog(int) * @see #onPrepareDialog(int, Dialog) * @see #dismissDialog(int) diff --git a/core/java/android/os/SystemClock.java b/core/java/android/os/SystemClock.java index 2b57b39..2dd6749 100644 --- a/core/java/android/os/SystemClock.java +++ b/core/java/android/os/SystemClock.java @@ -30,7 +30,13 @@ package android.os; * backwards or forwards unpredictably. This clock should only be used * when correspondence with real-world dates and times is important, such * as in a calendar or alarm clock application. Interval or elapsed - * time measurements should use a different clock. + * time measurements should use a different clock. If you are using + * System.currentTimeMillis(), consider listening to the + * {@link android.content.Intent#ACTION_TIME_TICK ACTION_TIME_TICK}, + * {@link android.content.Intent#ACTION_TIME_CHANGED ACTION_TIME_CHANGED} + * and {@link android.content.Intent#ACTION_TIMEZONE_CHANGED + * ACTION_TIMEZONE_CHANGED} {@link android.content.Intent Intent} + * broadcasts to find out when the time changes. * * <li> <p> {@link #uptimeMillis} is counted in milliseconds since the * system was booted. This clock stops when the system enters deep |