I am creating live wallpaper on LibGDX. I am using the latest version(December 2013) of it. 
I need to dispose some images when live wallpaper is closing or is on pause.
I am using following class:

```
public class GdxBase implements ApplicationListener, AndroidWallpaperListener, InputProcessorLW{

public abstract boolean needsGL20();

public void create() {
//works
};

public void resume() {
    Gdx.app.log("LibGDX", "resume");//works
};

public void render() {
//works
};

public void resize(int width, int height) { 
//works
};

public void pause() {
    Gdx.app.log("LibGDX", "pause"); //never called
};

public void dispose() {
    Gdx.app.log("LibGDX", "dispose"); //never called
};
}

```

So when I close my live wallpaper `dispose` or `pause` are never called. I see only `resume` and not mine `WallpaperService: engine paused` records in LogCat. How to invoke them? What do I wrong? 

Possible duplicate: [pause and dispose() not getting called in ApplicationListener in libgdx](https://stackoverflow.com/questions/7874353/pause-and-dispose-not-getting-called-in-applicationlistener-in-libgdx)