You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launch/Bring to the foreground Content App on Target Navigator and Content Launch Command (#34223)
* Launch content app on command
[Problem]
3P content app does not have permissions to launch itself and put main activity in foreground. This is necessary in response to ContentLauncher and TargetNavigator cluster commands.
[Solution]
Intercept the LaunchContent and NavigateTarget commands in
ContentAppEndpointManagerImpl. Then start content app main/launch activity if it's not
already in the foreground before sending command intent.
[Testing]
WIP
* Add logic to detect foreground apps
* Restyled by whitespace
* Restyled by google-java-format
* Update code
* Restyled by google-java-format
---------
Co-authored-by: Lazar Kovacic <lkovacic@amazon.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Copy file name to clipboardexpand all lines: examples/tv-app/android/App/platform-app/src/main/java/com/matter/tv/server/handlers/ContentAppEndpointManagerImpl.java
0 commit comments