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

Commit 71eae26a authored by calderwoodra's avatar calderwoodra Committed by Copybara-Service
Browse files

Action bar is no longer visible in dialpad search after configuartion change.

If a user, for example, opened dialpad search then entered multiwindow mode,
the actionbar would be visible and search results maligned. This change
corrects that by updating it's state once possible.

Test: manual
PiperOrigin-RevId: 177497979
Change-Id: I41d4910b5bb92e29623960e7d4741a9a961e5b9e
parent 9db815f0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -491,6 +491,11 @@ public class DialtactsActivity extends TransactionSafeActivity
    mP13nLogger = P13nLogging.get(getApplicationContext());
    mP13nRanker = P13nRanking.get(getApplicationContext());
    Trace.endSection();

    // Update the new search fragment to the correct position and the ActionBar's visibility.
    if (ConfigProviderBindings.get(this).getBoolean("enable_new_search_fragment", false)) {
      updateSearchFragmentPosition();
    }
  }

  @NonNull