diff options
| author | 2020-09-04 15:57:03 +0000 | |
|---|---|---|
| committer | 2020-09-04 15:57:03 +0000 | |
| commit | 076aaa5e81da1252e9da0f1a2b8a7ff925437c4b (patch) | |
| tree | 891ef4ebfcd5b929c79de95eb3629f3f16d458db /location/java | |
| parent | bad7e1870b93e9656a83d7b3cb64abbe4088dee1 (diff) | |
| parent | 7c552b378614574c518c95ba9afde7d01d10ec21 (diff) | |
Merge "Small fixes to basic classes and refactorings"
Diffstat (limited to 'location/java')
| -rw-r--r-- | location/java/android/location/timezone/LocationTimeZoneEvent.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/location/java/android/location/timezone/LocationTimeZoneEvent.java b/location/java/android/location/timezone/LocationTimeZoneEvent.java index 540bdfffe16a..55bc507964e6 100644 --- a/location/java/android/location/timezone/LocationTimeZoneEvent.java +++ b/location/java/android/location/timezone/LocationTimeZoneEvent.java @@ -35,7 +35,8 @@ import java.util.Objects; */ public final class LocationTimeZoneEvent implements Parcelable { - @IntDef({ EVENT_TYPE_UNKNOWN, EVENT_TYPE_SUCCESS, EVENT_TYPE_SUCCESS }) + @IntDef({ EVENT_TYPE_UNKNOWN, EVENT_TYPE_PERMANENT_FAILURE, EVENT_TYPE_SUCCESS, + EVENT_TYPE_UNCERTAIN }) @interface EventType {} /** Uninitialized value for {@link #mEventType} - must not be used for real events. */ @@ -43,7 +44,7 @@ public final class LocationTimeZoneEvent implements Parcelable { /** * Indicates there was a permanent failure. This is not generally expected, and probably means a - * required backend service is no longer supported / available. + * required backend service has been turned down, or the client is unreasonably old. */ public static final int EVENT_TYPE_PERMANENT_FAILURE = 1; @@ -54,8 +55,9 @@ public final class LocationTimeZoneEvent implements Parcelable { public static final int EVENT_TYPE_SUCCESS = 2; /** - * Indicates the time zone is not known because there was a (temporary) error, e.g. when - * detecting location, or when resolving the location to a time zone. + * Indicates the time zone is not known because of an expected runtime state or error, e.g. when + * the provider is unable to detect location, or there was a problem when resolving the location + * to a time zone. */ public static final int EVENT_TYPE_UNCERTAIN = 3; |