Merge "Change log tag of DynamicSystemClient to match class name"

This commit is contained in:
Treehugger Robot
2021-01-06 11:11:58 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 5 deletions

View File

@@ -68,6 +68,8 @@ import java.util.concurrent.Executor;
*/ */
@SystemApi @SystemApi
public class DynamicSystemClient { public class DynamicSystemClient {
private static final String TAG = "DynamicSystemClient";
/** @hide */ /** @hide */
@IntDef(prefix = { "STATUS_" }, value = { @IntDef(prefix = { "STATUS_" }, value = {
STATUS_UNKNOWN, STATUS_UNKNOWN,
@@ -92,8 +94,6 @@ public class DynamicSystemClient {
@Retention(RetentionPolicy.SOURCE) @Retention(RetentionPolicy.SOURCE)
public @interface StatusChangedCause {} public @interface StatusChangedCause {}
private static final String TAG = "DynSystemClient";
/** Listener for installation status updates. */ /** Listener for installation status updates. */
public interface OnStatusChangedListener { public interface OnStatusChangedListener {
/** /**
@@ -240,7 +240,7 @@ public class DynamicSystemClient {
private class DynSystemServiceConnection implements ServiceConnection { private class DynSystemServiceConnection implements ServiceConnection {
public void onServiceConnected(ComponentName className, IBinder service) { public void onServiceConnected(ComponentName className, IBinder service) {
Slog.v(TAG, "DynSystemService connected"); Slog.v(TAG, "onServiceConnected: " + className);
mService = new Messenger(service); mService = new Messenger(service);
@@ -262,7 +262,7 @@ public class DynamicSystemClient {
} }
public void onServiceDisconnected(ComponentName className) { public void onServiceDisconnected(ComponentName className) {
Slog.v(TAG, "DynSystemService disconnected"); Slog.v(TAG, "onServiceDisconnected: " + className);
mService = null; mService = null;
} }
} }

View File

@@ -74,7 +74,7 @@ import java.util.ArrayList;
public class DynamicSystemInstallationService extends Service public class DynamicSystemInstallationService extends Service
implements InstallationAsyncTask.ProgressListener { implements InstallationAsyncTask.ProgressListener {
private static final String TAG = "DynSystemInstallationService"; private static final String TAG = "DynamicSystemInstallationService";
// TODO (b/131866826): This is currently for test only. Will move this to System API. // TODO (b/131866826): This is currently for test only. Will move this to System API.
static final String KEY_ENABLE_WHEN_COMPLETED = "KEY_ENABLE_WHEN_COMPLETED"; static final String KEY_ENABLE_WHEN_COMPLETED = "KEY_ENABLE_WHEN_COMPLETED";