The App Watchdog Restriction enables IT Admins to monitor applications with a high level of granularity. This feature is especially valuable for ensuring that an app remains continuously operational. When configured, the Watchdog settings direct FieldX to oversee these apps and their associated classes. If an app is terminated or its Activity or Service stops running, FieldX will attempt to restart the relevant activity or service.
FieldX offers three types of Watchdog settings, which are specific to Android terminology. An Android developer can assist in providing the appropriate details for configuration.
- Service: If the given Class name is of type service, FieldX will ensure this service keeps running forever.
- Top Activity: If the given class name is of this type, FieldX will make sure that this Activity keeps running forever. In case the activity changes, the agent app will try to start again with NEW_TASK or BROUGHT_TO_FRONT android intent flags
- Package: For this type, the agent app only ensures that the package is not killed. In case the app is killed, FieldX will try to start the main launcher Activity of the package.

Before you begin: Watchdog Settings are only applicable if FieldX is installed as a system-app. In case your device supports system-level access, contact support for know-how.
To add Watchdog settings
- Navigate to Restrictions Page
- Either add or edit the restriction that you want to have these settings
- Click on App Restrictions Category and scroll down to "App Watchdog settings" option.
- Click on "Add/Update" button to add or edit the settings
- In the Dialog box that appears, one can add multiple app details to monitor
- The Class Name should be the Fully Qualified Class Name of the Activity or Service. If this is not correct, the agent will fail to monitor.
- After adding the details, press Submit button to close the dialog.
- Finally click on Save Changes button on the top to save all the changes made in the restrictions.