Merge "Fix CDM logcat spam when device is nearby" into sc-dev am: 562ed3ad70
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13923474 Change-Id: Icb78d280a723932ccd854bc75cfcb0210cbcbad1
This commit is contained in:
@@ -1244,8 +1244,6 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
|
||||
}
|
||||
|
||||
public void schedule() {
|
||||
Slog.d(LOG_TAG,
|
||||
"TriggerDeviceDisappearedRunnable.schedule(address = " + mAddress + ")");
|
||||
mMainHandler.removeCallbacks(this);
|
||||
mMainHandler.postDelayed(this, this, DEVICE_DISAPPEARED_TIMEOUT_MS);
|
||||
}
|
||||
@@ -1283,8 +1281,6 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
|
||||
}
|
||||
|
||||
private void onDeviceNearby(String address) {
|
||||
Slog.i(LOG_TAG, "onDeviceNearby(address = " + address + ")");
|
||||
|
||||
Date timestamp = new Date();
|
||||
Date oldTimestamp = mDevicesLastNearby.put(address, timestamp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user