Merge "Add stack trace for OPS disconnect reason logging" into tm-qpr-dev am: 30a093f995

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22331247

Change-Id: I62e55e44833dc1ed70c8a3856e8d8a290f5466f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-04-03 17:09:40 +00:00
committed by Automerger Merge Worker

View File

@@ -786,7 +786,8 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
private void disconnectFromLauncherService(String disconnectReason) { private void disconnectFromLauncherService(String disconnectReason) {
Log.d(TAG_OPS, "disconnectFromLauncherService bound?: " + mBound + Log.d(TAG_OPS, "disconnectFromLauncherService bound?: " + mBound +
" currentProxy: " + mOverviewProxy + " disconnectReason: " + disconnectReason); " currentProxy: " + mOverviewProxy + " disconnectReason: " + disconnectReason,
new Throwable());
if (mBound) { if (mBound) {
// Always unbind the service (ie. if called through onNullBinding or onBindingDied) // Always unbind the service (ie. if called through onNullBinding or onBindingDied)
mContext.unbindService(mOverviewServiceConnection); mContext.unbindService(mOverviewServiceConnection);