Skip to content

Broadcast not accepted by Android system #470

@Zimbelstern

Description

@Zimbelstern

Easer version
0.8.3-beta3

To Reproduce
Settings of Send Broadcast to reproduce the behavior:

  • package: info.varden.hauk
  • class: info.varden.hauk.global.Receiver
  • action: info.varden.hauk.START_ALONE_THEN_MAKE_TOAST
  • extras:
    • source: test (string)
    • requestLink: test (string)

Error log (warning) from BroadcastQueue:

Background execution not allowed: receiving Intent { act=info.varden.hauk.START_ALONE_THEN_MAKE_TOAST flg=0x10 } to info.varden.hauk/.global.Receiver

Sending broadcast through command isn't possible either:

am broadcast -a info.varden.hauk.START_ALONE_THEN_MAKE_TOAST -n info.varden.hauk/.global.Receiver -e source test -e requestLink test

results in the warning

Permission Denial: broadcast asks to run as user -2 but is calling from uid u0a189; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS

from ActivityManager.

Extra phone info:
Bug reproduced on

  • Physical device running LineageOS 20
  • Virtual device running Android 13.0

Additional context
The broadcast is addressed to Hauk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugGeneral label for all bugs (i.e. things not working as intended)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions