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

Commit 0fe130fe authored by uabdullah's avatar uabdullah Committed by Eric Erfanian
Browse files

Use Dialer Light Theme for SpeakEasyFragment

Bug: 79523664,80195371
Test: Need to add Scuba tests (http://b/80194939)
PiperOrigin-RevId: 197821095
Change-Id: I92ea1e6b95d264ea69f7d30eea12f547ee60eeac
parent 19a7c0ed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -148,6 +148,7 @@ public class InCallFragment extends Fragment
      @Nullable ViewGroup viewGroup,
      @Nullable Bundle bundle) {
    LogUtil.i("InCallFragment.onCreateView", null);
    getActivity().setTheme(R.style.Theme_InCallScreen);
    // Bypass to avoid StrictModeResourceMismatchViolation
    final View view =
        StrictModeUtils.bypass(
+13 −0
Original line number Diff line number Diff line
@@ -20,6 +20,19 @@
       circular reveal animation for a new outgoing call to work correctly. We don't just use
       Theme.Black.NoTitleBar directly, since we want any popups or dialogs from the
       InCallActivity to have the correct Material style. -->
  <style name="Theme.InCallScreen.Light" parent="@style/Dialer.ThemeBase.NoActionBar">
    <item name="android:statusBarColor">@android:color/transparent</item>
    <item name="android:navigationBarColor">@android:color/transparent</item>
    <item name="android:windowDrawsSystemBarBackgrounds">true</item>

    <item name="dialpad_key_button_touch_tint">@color/incall_dialpad_touch_tint</item>
    <item name="dialpad_style">@style/InCallDialpad</item>
    <item name="android:windowAnimationStyle">@null</item>

    <item name="android:windowBackground">@drawable/incall_background_gradient</item>
    <item name="android:windowShowWallpaper">true</item>
  </style>

  <style name="Theme.InCallScreen" parent="@style/Dialer.Dark.ThemeBase.NoActionBar">
    <item name="android:statusBarColor">@android:color/transparent</item>
    <item name="android:navigationBarColor">@android:color/transparent</item>