diff --git a/Tasker-and-ADB-commands.md b/Tasker-and-ADB-commands.md index 995857f..501b61d 100644 --- a/Tasker-and-ADB-commands.md +++ b/Tasker-and-ADB-commands.md @@ -44,3 +44,14 @@ To prevent third-party (malicious) applications from gaining the ability to cont ``` adb shell am broadcast -a ru.execbit.aiolauncher.COMMAND --es cmd apps_menu --es password PASSWORD ``` + +AIO Launcher will send broadcast messages when certain events occur: + +* `ru.execbit.aiolauncher.RESUMED` - when the user returns to the launcher; +* `ru.execbit.aiolauncher.STOPPED` - when the user leaves the launcher; +* `ru.execbit.aiolauncher.SEARCH_OPENED` - when the user opens the search window; +* `ru.execbit.aiolauncher.SEARCH_CLOSED` - when the user closes the search window; +* `ru.execbit.aiolauncher.DRAWER_OPENED` - when the user opens the side menu; +* `ru.execbit.aiolauncher.DRAWER_CLOSED` - when the user closes the side menu; +* `ru.execbit.aiolauncher.WIDGET_ADDED` - when the user adds a widget (extra "name" contains the widget name); +* `ru.execbit.aiolauncher.WIDGET_REMOVED` - when the user removes a widget (extra "name" contains the widget name).