Assets render theme, closes #162

This commit is contained in:
Emux
2016-09-07 20:28:11 +03:00
parent 41921aa98d
commit a7356e5723
2 changed files with 100 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
package org.oscim.theme;
import org.oscim.backend.AssetAdapter;
import org.oscim.theme.IRenderTheme.ThemeException;
import java.io.InputStream;
@@ -49,7 +50,7 @@ public enum VtmThemes implements ThemeFile {
}
@Override
public InputStream getRenderThemeAsStream() {
public InputStream getRenderThemeAsStream() throws ThemeException {
return AssetAdapter.readFileAsStream(mPath);
}
}