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

Commit a887ad4f authored by Matt Casey's avatar Matt Casey Committed by Android (Google) Code Review
Browse files

Merge "Update flag configuration for private profile behavior fix." into main

parents a90f38ae 4a0f9b01
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 {
+2 −2
Original line number Diff line number Diff line
@@ -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
@@ -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,