Skip to content

binder: We call SDK 30's bindServiceAsUser() and SDK 26's bindDeviceAdminServiceAsUser() methods without a runtime check #10840

@jdcormie

Description

@jdcormie

BinderChannelBuilder#bindAsUser should be annotated @RequiresApi(30)
BinderChannelCredentials#forDevicePolicyAdmin should be annotated @RequiresApi(26)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions