Skip to content

[Android] Consider implementing backwards compatibility for sensitive content protection #159208

@camsim99

Description

@camsim99

Flutter is currently working to support sensitive context protection on Android (see #150218) which is based on the View#setContentSensitivity API that is only supported on Android 15+. We should consider implementing some form of backwards compatibility for lower API versions by trying to detect when the screen is being shared by using the DisplayManager to detect active Displays.

Note that this would also require figuring out how to obscure sensitive content if we are able to detect screen sharing on Android APIs < 15.

See comment on technical limitations section in go/flutter-android-sensitive-content for more context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions