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

Commit 2b132c24 authored by qing's avatar qing Committed by Qing Zhong
Browse files

Disable UserCallActivity splash animation

UserCallActivity should be a transparent activity with no animation.

Flag: NONE simple UI fix
Test: Manual test both on phone and watch by triggering a call action
Bug: 353963550
Change-Id: I2f426b43d39c027015c728e887c6d04c1322fcac
parent c00fa9f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@
                         contacts provider entries. Any data not fitting the schema described is ignored. -->
        <activity android:name=".components.UserCallActivity"
             android:label="@string/userCallActivityLabel"
             android:theme="@style/Theme.Telecomm.Transparent"
             android:theme="@style/Theme.Telecomm.UserCallActivityNoSplash"
             android:permission="android.permission.CALL_PHONE"
             android:excludeFromRecents="true"
             android:process=":ui"
+12 −0
Original line number Diff line number Diff line
@@ -26,6 +26,18 @@
        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
    </style>

    <style name="Theme.Telecomm.UserCallActivityNoSplash" parent="@android:style/Theme.DeviceDefault.Light">
        <item name="android:forceDarkAllowed">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">true</item>
        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
        <item name="android:windowDisablePreview">true</item>
    </style>

   <style name="Theme.Telecom.DialerSettings" parent="@android:style/Theme.DeviceDefault.Light">
        <item name="android:forceDarkAllowed">true</item>
        <item name="android:actionBarStyle">@style/TelecomDialerSettingsActionBarStyle</item>