A utility class for installing a dynamically updatable Provider to
replace the platform default provider.
| interface | ProviderInstaller.ProviderInstallListener | Callback for notification of the result of provider installation. | |
| String | PROVIDER_NAME |
| static void |
installIfNeeded(Context
context)
Installs the dynamically updatable security provider, if it's not already
installed.
|
| static void |
installIfNeededAsync(Context
context,
ProviderInstaller.ProviderInstallListener listener)
Asynchronously installs the dynamically updatable security provider, if it's
not already installed.
|
Installs the dynamically updatable security provider, if it's not already installed.
Asynchronously installs the dynamically updatable security provider, if it's not already installed. This method must be called on the UI thread.
| context | |
|---|---|
| listener | called when the installation completes |