Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd141410 authored by Neil Fuller's avatar Neil Fuller
Browse files

Move LocationTimeZoneEvent to com.android

LocationTimeZoneEvent was originally supposed to fulfil the same role as
Location does in the LocationProvider. Since Location is public SDK, it
was in android.location. LocationTimeZoneEvent is not public SDK (or any
form of API), so it can be moved to com.android instead.
LocationTimeZoneEventUnbundled is in the API in its place.

Bug: 169304499
Test: treehugger only
Change-Id: I5d382362383000b16852928895a18ac4e4269a8f
parent 86c9b84b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.internal.location.timezone;

import android.location.timezone.LocationTimeZoneEvent;
import com.android.internal.location.timezone.LocationTimeZoneEvent;

/**
 * Binder interface for the manager of location time zone provider implementations.
+1 −1
Original line number Diff line number Diff line
@@ -14,6 +14,6 @@
 * limitations under the License.
 */

package android.location.timezone;
package com.android.internal.location.timezone;

parcelable LocationTimeZoneEvent;
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package android.location.timezone;
package com.android.internal.location.timezone;

import android.annotation.IntDef;
import android.annotation.NonNull;
+2 −1
Original line number Diff line number Diff line
@@ -18,9 +18,10 @@ package com.android.location.timezone.provider;

import android.annotation.IntDef;
import android.annotation.NonNull;
import android.location.timezone.LocationTimeZoneEvent;
import android.os.SystemClock;

import com.android.internal.location.timezone.LocationTimeZoneEvent;

import java.util.Collections;
import java.util.List;
import java.util.Objects;
+1 −1
Original line number Diff line number Diff line
@@ -25,10 +25,10 @@ import static com.android.server.location.timezone.LocationTimeZoneProvider.Prov

import android.annotation.NonNull;
import android.annotation.Nullable;
import android.location.timezone.LocationTimeZoneEvent;
import android.util.IndentingPrintWriter;
import android.util.Slog;

import com.android.internal.location.timezone.LocationTimeZoneEvent;
import com.android.internal.location.timezone.LocationTimeZoneProviderRequest;

import java.time.Duration;
Loading