Loading packages/SystemUI/aconfig/systemui.aconfig +4 −1 Original line number Diff line number Diff line Loading @@ -477,10 +477,13 @@ flag { } flag { name: "screenshot_private_profile" name: "screenshot_private_profile_behavior_fix" namespace: "systemui" description: "Private profile support for screenshots" bug: "327613051" metadata { purpose: PURPOSE_BUGFIX } } flag { Loading packages/SystemUI/src/com/android/systemui/screenshot/policy/ScreenshotPolicyModule.kt +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ package com.android.systemui.screenshot.policy import android.content.ComponentName import android.content.Context import android.os.Process import com.android.systemui.Flags.screenshotPrivateProfile import com.android.systemui.Flags.screenshotPrivateProfileBehaviorFix import com.android.systemui.SystemUIService import com.android.systemui.dagger.SysUISingleton import com.android.systemui.dagger.qualifiers.Application Loading Loading @@ -72,7 +72,7 @@ interface ScreenshotPolicyModule { displayContentRepoProvider: Provider<DisplayContentRepository>, policyListProvider: Provider<List<CapturePolicy>>, ): ScreenshotRequestProcessor { return if (screenshotPrivateProfile()) { return if (screenshotPrivateProfileBehaviorFix()) { PolicyRequestProcessor( background = background, capture = imageCapture, Loading Loading
packages/SystemUI/aconfig/systemui.aconfig +4 −1 Original line number Diff line number Diff line Loading @@ -477,10 +477,13 @@ flag { } flag { name: "screenshot_private_profile" name: "screenshot_private_profile_behavior_fix" namespace: "systemui" description: "Private profile support for screenshots" bug: "327613051" metadata { purpose: PURPOSE_BUGFIX } } flag { Loading
packages/SystemUI/src/com/android/systemui/screenshot/policy/ScreenshotPolicyModule.kt +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ package com.android.systemui.screenshot.policy import android.content.ComponentName import android.content.Context import android.os.Process import com.android.systemui.Flags.screenshotPrivateProfile import com.android.systemui.Flags.screenshotPrivateProfileBehaviorFix import com.android.systemui.SystemUIService import com.android.systemui.dagger.SysUISingleton import com.android.systemui.dagger.qualifiers.Application Loading Loading @@ -72,7 +72,7 @@ interface ScreenshotPolicyModule { displayContentRepoProvider: Provider<DisplayContentRepository>, policyListProvider: Provider<List<CapturePolicy>>, ): ScreenshotRequestProcessor { return if (screenshotPrivateProfile()) { return if (screenshotPrivateProfileBehaviorFix()) { PolicyRequestProcessor( background = background, capture = imageCapture, Loading