diff options
| author | 2020-06-08 11:44:00 -0400 | |
|---|---|---|
| committer | 2020-06-08 11:44:00 -0400 | |
| commit | e3006cbb6a537b81c51fce417737f4258d6851ef (patch) | |
| tree | dfcc136ec65d68d59e21a1d814d416ae653ecd02 | |
| parent | cdde51eae70a6ac54142168c84e05c94607b2f7d (diff) | |
Remove duplicate screenshot view from xml
When the screenshot layout was split to allow only part of it to
respect display insets, a duplicate copy of the
"global_screenshot_animated_view" was created. This wasn't noticed
initially because it has no real effect (starts "gone" and is never
accessed or changed).
Bug: 158470016
Fix: 158470016
Test: manual (built and ensured that the animations/ui still appear
correct)
Change-Id: I2f65c7f800a8ced1592ed92356bb13a3b56a8e81
| -rw-r--r-- | packages/SystemUI/res/layout/global_screenshot_static.xml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/packages/SystemUI/res/layout/global_screenshot_static.xml b/packages/SystemUI/res/layout/global_screenshot_static.xml index a46823d9bc38..da5277ce3876 100644 --- a/packages/SystemUI/res/layout/global_screenshot_static.xml +++ b/packages/SystemUI/res/layout/global_screenshot_static.xml @@ -53,15 +53,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content"/> </HorizontalScrollView> - <ImageView - android:id="@+id/global_screenshot_animated_view" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_gravity="center" - android:visibility="gone" - android:elevation="@dimen/screenshot_preview_elevation" - android:background="@drawable/screenshot_rounded_corners" - android:adjustViewBounds="true"/> <include layout="@layout/global_screenshot_preview"/> <FrameLayout android:id="@+id/global_screenshot_dismiss_button" |