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

Commit 5e56874d authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Wrap the lottie views and trace whenever it invalidates

To help determine which lottie view is continuously running
when it shouldn't be.

Test: check sysui trace
Bug: 290106681
Change-Id: I9ef168d086357c35484822798c4b67edf2c7422e
(cherry picked from commit b106e6cc)
parent 999f9e45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
        app:cardCornerRadius="28dp"
        app:cardBackgroundColor="@color/rear_display_overlay_animation_background_color">

            <com.airbnb.lottie.LottieAnimationView
            <com.android.systemui.reardisplay.RearDisplayEducationLottieViewWrapper
                android:id="@+id/rear_display_folded_animation"
                android:importantForAccessibility="no"
                android:layout_width="@dimen/rear_display_animation_width"
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
        app:cardCornerRadius="28dp"
        app:cardBackgroundColor="@color/rear_display_overlay_animation_background_color">

        <com.airbnb.lottie.LottieAnimationView
        <com.android.systemui.reardisplay.RearDisplayEducationLottieViewWrapper
            android:id="@+id/rear_display_folded_animation"
            android:importantForAccessibility="no"
            android:layout_width="@dimen/rear_display_animation_width_opened"
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@

        <include layout="@layout/auth_biometric_icon"/>

        <com.airbnb.lottie.LottieAnimationView
        <com.android.systemui.biometrics.BiometricPromptLottieViewWrapper
            android:id="@+id/biometric_icon_overlay"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
+2 −2
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@
        android:layout_height="wrap_content"
        android:layout_gravity="center">

        <com.airbnb.lottie.LottieAnimationView
        <com.android.systemui.biometrics.BiometricPromptLottieViewWrapper
            android:id="@+id/biometric_icon"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
@@ -67,7 +67,7 @@
            android:contentDescription="@null"
            android:scaleType="fitXY" />

        <com.airbnb.lottie.LottieAnimationView
        <com.android.systemui.biometrics.BiometricPromptLottieViewWrapper
            android:id="@+id/biometric_icon_overlay"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<com.airbnb.lottie.LottieAnimationView
<com.android.systemui.biometrics.SideFpsLottieViewWrapper
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/sidefps_animation"
Loading