MasDennis/Rajawali — pull request #176 by ToxicBakery (2012-10-02 00:31:10+00:00)
Title: #173 Added backwards compatible support for setOffsetNotificationsEanbled(boolean enabled) 

Added reflection method to test availability of setOffsetNotificationEnabled.

```JAVA
@Override
public Engine onCreateEngine() {
mRenderer = new MyWallpaperRenderer(this);
WallpaperEngine engine = new WallpaperEngine(this.getSharedPreferences(SHARED_PREFS_NAME,
Context.MODE_PRIVATE), getBaseContext(), mRenderer, false);
engine.setOffsetNotificationsEnabled(true);
return engine;
}
```