From 8479fdcd2ed853a9f0903653e5014afb1460824f Mon Sep 17 00:00:00 2001 From: Soonil Nagarkar Date: Thu, 4 Feb 2021 13:28:45 -0800 Subject: [PATCH] Move LocalEventLog into location dir This doesn't seem worth keeping as common code, moving back into the location directory. Bug: 179416865 Test: n/a Change-Id: Ib5d051dcb14653fdd263a85c6a0c72b50b6a167e --- .../server/{utils => location}/eventlog/LocalEventLog.java | 4 ++-- .../android/server/location/injector/LocationEventLog.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename services/core/java/com/android/server/{utils => location}/eventlog/LocalEventLog.java (98%) diff --git a/services/core/java/com/android/server/utils/eventlog/LocalEventLog.java b/services/core/java/com/android/server/location/eventlog/LocalEventLog.java similarity index 98% rename from services/core/java/com/android/server/utils/eventlog/LocalEventLog.java rename to services/core/java/com/android/server/location/eventlog/LocalEventLog.java index fe51d74081532..b5746bbf310af 100644 --- a/services/core/java/com/android/server/utils/eventlog/LocalEventLog.java +++ b/services/core/java/com/android/server/location/eventlog/LocalEventLog.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 The Android Open Source Project + * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.android.server.utils.eventlog; +package com.android.server.location.eventlog; import android.os.SystemClock; import android.util.TimeUtils; diff --git a/services/core/java/com/android/server/location/injector/LocationEventLog.java b/services/core/java/com/android/server/location/injector/LocationEventLog.java index b8b54b3a42e76..8d73518bced14 100644 --- a/services/core/java/com/android/server/location/injector/LocationEventLog.java +++ b/services/core/java/com/android/server/location/injector/LocationEventLog.java @@ -31,7 +31,7 @@ import android.location.util.identity.CallerIdentity; import android.os.Build; import android.os.PowerManager.LocationPowerSaveMode; -import com.android.server.utils.eventlog.LocalEventLog; +import com.android.server.location.eventlog.LocalEventLog; /** In memory event log for location events. */ public class LocationEventLog extends LocalEventLog {