Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3007cc30 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android Git Automerger
Browse files

am d1c6dca6: am bbd723ce: am 144c4ff0: am 4cb113ed: Merge "Fix a NPE when...

am d1c6dca6: am bbd723ce: am 144c4ff0: am 4cb113ed: Merge "Fix a NPE when shutting down instrumentation" into mnc-dev

* commit 'd1c6dca6':
  Fix a NPE when shutting down instrumentation
parents 8bfa215a d1c6dca6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -17163,8 +17163,10 @@ public final class ActivityManagerService extends ActivityManagerNative
        }
        // Can't call out of the system process with a lock held, so post a message.
        if (app.instrumentationUiAutomationConnection != null) {
            mHandler.obtainMessage(SHUTDOWN_UI_AUTOMATION_CONNECTION_MSG,
                    app.instrumentationUiAutomationConnection).sendToTarget();
        }
        app.instrumentationWatcher = null;
        app.instrumentationUiAutomationConnection = null;