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

Commit 0266cf49 authored by mqi's avatar mqi Committed by Gerrit - the friendly Code Review server
Browse files

SystemUI: Fix SystemUI FC issue

SystemUI FC during monkey test due to null pointer.

Add null pointer check and initilization.

Change-Id: I419026649addfd14a4067ecadca5f676b322ecc8
CRs-Fixed: 1060934
parent 223c12ee
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -222,6 +222,9 @@ public class AssistManager {
    }

    private void maybeSwapSearchIcon(@NonNull ComponentName assistComponent, boolean isService) {
        if(mView == null) {
            onConfigurationChanged();
        }
        replaceDrawable(mView.getOrb().getLogo(), assistComponent, ASSIST_ICON_METADATA_NAME,
                isService);
    }