Because we need to check whether background_image or background_color has been provided in the manifest. If yes, we need to set as activity background.
The foreground image will be displayed as a Dialog, no need to change activity background.

So the return value is only depends on the background_img or color.