summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vinit Nayak <peanutbutter@google.com> 2023-03-28 22:26:42 -0700
committer Vinit Nayak <peanutbutter@google.com> 2023-03-29 05:38:06 +0000
commitbf9da6363933655849e2640bb9cadfac4068a990 (patch)
treec98039bb00d01a9e7c079eb40a24535601378e81
parent16d277ab96ff5dad8fdb88c19a9aaf38d8139777 (diff)
Add stack trace for OPS disconnect reason logging
Bug: 266716173 Change-Id: Ic8e5bb14c029bc6e7c7b0a25409c0e93e7847009
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java
index 80eea81a541d..1b83397b1afb 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java
@@ -788,7 +788,8 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
private void disconnectFromLauncherService(String disconnectReason) {
Log.d(TAG_OPS, "disconnectFromLauncherService bound?: " + mBound +
- " currentProxy: " + mOverviewProxy + " disconnectReason: " + disconnectReason);
+ " currentProxy: " + mOverviewProxy + " disconnectReason: " + disconnectReason,
+ new Throwable());
if (mBound) {
// Always unbind the service (ie. if called through onNullBinding or onBindingDied)
mContext.unbindService(mOverviewServiceConnection);