Loading packages/SystemUI/res/layout/screenshot_shelf.xml +3 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,9 @@ xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> android:layout_height="match_parent" android:clipChildren="false" android:clipToPadding="false"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/screenshot_static" android:layout_width="match_parent" Loading packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.java +7 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ import android.util.Pair; import android.view.Display; import android.view.ScrollCaptureResponse; import android.view.View; import android.view.ViewGroup; import android.view.ViewRootImpl; import android.view.ViewTreeObserver; import android.view.WindowInsets; Loading Loading @@ -699,6 +700,12 @@ public class ScreenshotController { mBlockAttach = true; mWindowManager.addView(decorView, mWindowLayoutParams); decorView.requestApplyInsets(); if (screenshotShelfUi2()) { ViewGroup layout = decorView.requireViewById(android.R.id.content); layout.setClipChildren(false); layout.setClipToPadding(false); } } void removeWindow() { Loading Loading
packages/SystemUI/res/layout/screenshot_shelf.xml +3 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,9 @@ xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> android:layout_height="match_parent" android:clipChildren="false" android:clipToPadding="false"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/screenshot_static" android:layout_width="match_parent" Loading
packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.java +7 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ import android.util.Pair; import android.view.Display; import android.view.ScrollCaptureResponse; import android.view.View; import android.view.ViewGroup; import android.view.ViewRootImpl; import android.view.ViewTreeObserver; import android.view.WindowInsets; Loading Loading @@ -699,6 +700,12 @@ public class ScreenshotController { mBlockAttach = true; mWindowManager.addView(decorView, mWindowLayoutParams); decorView.requestApplyInsets(); if (screenshotShelfUi2()) { ViewGroup layout = decorView.requireViewById(android.R.id.content); layout.setClipChildren(false); layout.setClipToPadding(false); } } void removeWindow() { Loading