CPC G06F 9/4856 (2013.01) [G06F 9/542 (2013.01)] | 20 Claims |
1. A method for dynamically assigning an application to a workspace based on context, the method comprising:
detecting, by an agent executing on a computing device, that a plurality of workspaces are available on the computing device;
registering, by the agent, with one or more sources of events to be notified when events occur on the computing device;
identifying, by the agent, a plurality of containers that are available on the computing device;
identifying, by the agent and for each of the plurality of containers, one of the plurality of workspaces that the respective container implements, including determining that a first container of the plurality of containers implements a first workspace of the plurality of workspaces and that a second container of the plurality of containers implements a second workspace of the plurality of workspaces;
detecting that a context of a computing device has changed while a first application is running on the computing device in the first container that implements the first workspace;
based on the changed context, determining that a second workspace of the plurality of workspaces is relevant to the first application;
causing the first application to stop running in the first container that implements the first workspace; and
causing the first application to be run in the second container that implements the second workspace.
|