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

Commit 0d464ac3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "contexthub: fix NPE at handleServiceRestart" into main

parents 25c889de 303e42fb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -256,7 +256,9 @@ public class ContextHubService extends IContextHubService.Stub {
        public void handleServiceRestart() {
            Log.i(TAG, "Recovering from Context Hub HAL restart...");
            initExistingCallbacks();
            if (mHubInfoRegistry != null) {
                mHubInfoRegistry.onHalRestart();
            }
            resetSettings();
            if (Flags.reconnectHostEndpointsAfterHalRestart()) {
                mClientManager.forEachClientOfHub(mContextHubId,