Skip to content

Feature: Custom Intents Platform Actions

Overview

The custom intents have been enhanced to give greater control on platform actions.

The first such is the action is to Clear the application cache.

Using the Action value of "CLEARCACHE", and supplying a package name and typeIntent to "p", launcher will invoke the Platform Clear cache during specified life cycle times (Login, Logout, Boot, Cradle, Uncradle, and ScreenOn).

Example:

"intents" : {
    "login" : [
    ],
    "logout":[
        {
                "action": "CLEARCACHE",
                "package": "com.android.chrome",
                "typeIntent": "p"
            }
    ],
    "boot" : [],
    "uncradle": [],
    "cradle": [],
    "screenOn": []
  },

See Launcher Configurations for more information on the Intents object.

Feature Introduced

Feature Introduced in Launcher 3.6.x.