setConfiguration

Replaces activity configuration. This method restarts activity to apply new configuration.

Note: This is a no-op when configuration has not changed.

Parameters

configuration

The configuration to restart activity with.