Skip to content

reportFullyDrawn seems to require extra permissions on some API levels #46172

@dnfield

Description

@dnfield

I happened to test something on API 19 today, which is the first API level where Activity.reportFullyDrawn was supported. I ended up with a stack trace saying I didn't have android.permissions.UPDATE_DEVICE_STATS. This is documented as not being for use by third party apps. Adding it to my manifest made the crash go away.

We may want to either remove the reportFullyDrawn line and just let users do it when they think it's right, or raise the API level to something safer.

/cc @matthew-carroll @xster

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consoleengineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions