Skip to content

AmbientState.Interactive received when device is transitioning from app to watch face #2595

@ithinkihaveacat

Description

@ithinkihaveacat

AmbientState.Interactive is associated with the onExitAmbient() event:

The system calls this method when the app is being transitioned from ambient to interactive mode, but also when the app is being transitioned from ambient mode to the watch face. Since horologist translates this to its own AmbientState.Interactive state, apps get passed this state when the system is returning the user to the watch face.

This is misleading, and potentially incorrect, especially since the javadoc explains that this state represents the app being open and being used:

* Represents that the state of the device is is interactive, and the app is open and being used.

AmbientState.Inactive might be a better choice for the "going to watch face" case, although I can't see an easy way to provide that state.

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