Loading packages/SystemUI/src/com/android/systemui/util/Utils.java +0 −11 Original line number Diff line number Diff line Loading @@ -133,15 +133,4 @@ public class Utils { .getDimensionPixelSize(R.dimen.status_bar_header_height_keyguard); return Math.max(statusBarHeight, statusBarHeaderHeightKeyguard + waterfallInsetTop); } /** * Returns {@code true} if screen capture is enabled and the device is a desktop. * * @deprecated use ScreenCaptureRecordFeatureInteractor instead. */ @Deprecated public static boolean isDesktopScreenCaptureEnabled(Context context) { return com.android.systemui.Flags.desktopScreenCapture() && context.getResources().getBoolean(R.bool.config_enableDesktopScreenCapture); } } Loading
packages/SystemUI/src/com/android/systemui/util/Utils.java +0 −11 Original line number Diff line number Diff line Loading @@ -133,15 +133,4 @@ public class Utils { .getDimensionPixelSize(R.dimen.status_bar_header_height_keyguard); return Math.max(statusBarHeight, statusBarHeaderHeightKeyguard + waterfallInsetTop); } /** * Returns {@code true} if screen capture is enabled and the device is a desktop. * * @deprecated use ScreenCaptureRecordFeatureInteractor instead. */ @Deprecated public static boolean isDesktopScreenCaptureEnabled(Context context) { return com.android.systemui.Flags.desktopScreenCapture() && context.getResources().getBoolean(R.bool.config_enableDesktopScreenCapture); } }