Motion Activated Device Lock
Motion Activated Device Lock is a Launcher feature that locks the device when driving is detected.
Overview
Motion intelligence software is revolutionizing safety initiatives in the workplace by preventing distracted driving. It enables fleet managers to keep track of their employees' compliance with safe-driving habits such as speed monitoring and avoiding phone usage. Motion Activated Device Lock is a Launcher feature that ensures workers remain focused on the job at hand, reducing the risk of accidents and other potential hazards. It locks the device while the user is driving. When the user stops driving, the user will be navigated back to the home screen and can use the device normally.
User Guide
Motion Activated Device Lock locks the screen display and prevents access to unauthorized apps and functionality whenever driving is detected. This allows IT administrators to monitor driver behavior to ensure Android enterprise device policy compliance.
If this feature is enabled in the configuration, the device will be disabled when driving is detected.
The message ‘For your safety, this device will remain locked while the vehicle is in motion’ will be displayed on the screen. Users will not be able to navigate away from this screen while they are driving.
Starting in Launcher 3.21.15, when the user stops driving, an "Exit Motion Lock" button will be displayed. The user must press the button in order to exit the Motion Lock UI. Prior to 3.21.15, when the user stops driving, the user will be navigated back to the home screen and can use the device normally.
Feature Configuration
To set up the Motion Activated Device Lock feature for a particular device profile or device group, please follow the steps below:
Enabling Motion Lock
Motion Activated Device Lock feature can be enabled or disabled within the Launcher configuration. If lockInMotion is set to true, the device will be locked while the user is driving. If lockInMotion is set to false, the device will not be locked while the user is driving.
Setting Up The Range
If lockInMotion is set to true, you can set up the range where the Motion Activated Device Lock feature will be enabled by defining the percentage level in the configuration. For instance, if lockInMotionConfidence is set to 50 (can range from 0 to 100), the device will be locked when there is at least 50 percent confidence that the user is driving.
Setting Up The Interval
If lockInMotion is set to true, you can determine motion information from the system by defining the interval (in milliseconds) in the configuration. The default is 5000 ms (5 seconds). Introduced in Launcher version 3.11.4.
Enabling GPS
If lockInMotionUseGps is set to true, GPS will be utilized to enable the Motion Activated Device Lock feature when driving is detected. If lockInMotionUseGps is false, the Motion Activated Device Lock feature will not be enabled when driving is detected. Note that this setting will only be utilized if lockInMotion is set to true.
Setting Up The Speed Threshold
If lockInMotionUseGps is set to true, you can set up the movement speed threshold required to lock the device by defining the number of miles per hour in the configuration. For instance, if it is set to 2, the device will be locked if the detected speed is greater than or equal to 2 miles per hour. The default is 5 miles per hour.
Setting Up The GPS Time Interval
If lockInMotionUseGps is set to true, you can set up the GPS minimum time interval in the configuration. For instance, if it is set to 10000, the GPS update time interval will run every 10 seconds. The default is 5000 milliseconds.
Setting Up The GPS Distance Threshold
The GPS provides updates on the speed when it notices that the device has traveled the defined interval distance in meters. To set up the GPS distance threshold, define the number of meters in the configuration. For instance, if it is set to 5, the GPS updates will run every 5 meters. The default is 0, which means that GPS data will provide updates constantly. Note that this setting will only be utilized if lockInMotionUseGps is set to true.
Allow Application Launch during Motion Lock
Beginning in Launcher version 3.20.x, an Allow in Motion Lock list of three or fewer applications or web shortcuts can be selected. The allowed apps will be displayed in the locked view at the bottom of the screen. Only applications that are also accessible with the user's role can be allowed for use during motion lock. To add an app to the Allow In Motion Lock list, include "allowInMotionLock": true
in the app's layout object.
Adding Enter Motion Lock Shortcut
Starting in Launcher 3.21.15, a shortcut item can be added to the Launcher home screen that allows for entering Motion Lock. Create a shortcut that uses the action com.bluefletch.launcher.ENTER_MOTION_LOCK. When entering Motion Lock using this action, Launcher will not force itself to the foreground, but will display the Motion Lock UI, and any applications that are marked as "allowInMotionLock" can be started from the Motion Lock UI.
Putting It All Together
For the example described above, the full configuration for the Motion Lock mode is as follows:
Motion Activated Device Lock was introduced in Launcher 3.5.x.
Last updated