I have a live wallpaper application which loads multiple user-selected images as bitmaps. This process is very memory intensive, as multiple bitmaps are loaded. The application crashes on some phones if the live wallpaper is already applied and then also previewed in the live wallpaper picker. I believe this is because a second instance of the renderer is created, which uses twice as much bitmap memory as needed, causing a crash.
How would I stop the preview mode from creating a new instance of the live wallpaper, but instead load the already existing renderer?