Hide logo in search/edit states

The logo was being shown in the search/edit states,
causing it to be half visible/half covered by the search bar
on volvo's customizations.

Bug: 149387359
Test: Manually
Merged-In: I68cd7f8d1c54b4619152b3691ebd04527da4627c
Change-Id: If96199c9d9e659b80dd0eea5d2d2ee6792bee8b1
diff --git a/car-ui-lib/src/com/android/car/ui/toolbar/Toolbar.java b/car-ui-lib/src/com/android/car/ui/toolbar/Toolbar.java
index 3ad5704..1ef97ac 100644
--- a/car-ui-lib/src/com/android/car/ui/toolbar/Toolbar.java
+++ b/car-ui-lib/src/com/android/car/ui/toolbar/Toolbar.java
@@ -812,7 +812,8 @@
         // Show logo next to the title if we're in the subpage state or we're configured to not show
         // the logo in the nav icon space.
         mTitleLogoContainer.setVisibility(mHasLogo
-                && (state == State.SUBPAGE || !mLogoFillsNavIconSpace)
+                && (state == State.SUBPAGE
+                || (state == Toolbar.State.HOME && !mLogoFillsNavIconSpace))
                 ? VISIBLE : GONE);
 
         // Show the nav icon container if we're not in the home space or the logo fills the nav icon