Skip to content

BroadcastReceiver broken in service #278

@multplx

Description

@multplx

Hi I have a kivy app with an activity and a service.

In service/main.py I have:

  • from android.broadcast import BroadcastReceiver
    Up to last week this was working fine. It is now throwing the error:
  • ''NoneType' object has no attribute 'getWindow''.
    flagged to _android.pyx line 178.
    I believe this is being caused by this change:
  • 3345c66
    and maybe get_keyboard_height() is now being called more than it was.

Can a change be made so that get_keyboard_height() is not called when in a service?
Or is there some change I can make in my code to accomodate this commit?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions