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

Commit 4a0f9b01 authored by Matt Casey's avatar Matt Casey
Browse files

Update flag configuration for private profile behavior fix.

Bug: 327613051
Test: Build
Flag: ACONFIG com.android.systemui.screenshot_private_profile_behavior_fix DEVELOPMENT
Change-Id: I4d06fe370065822e10e1bfbb019e1ab46357d214
parent 5bae38d7
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,