Check game.ico after icon.png
This commit is contained in:
parent
2b65b71538
commit
d1252c9a91
1 changed files with 7 additions and 0 deletions
|
@ -47,6 +47,13 @@ public class ShortcutActivity extends Activity
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
if(icon == null) try
|
if(icon == null) try
|
||||||
|
{
|
||||||
|
icon = Bitmap.createScaledBitmap(BitmapFactory.decodeFile(gamedirstring+"/game.ico"), size, size, false);
|
||||||
|
}
|
||||||
|
catch(Exception e)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
if(icon == null) try
|
||||||
{
|
{
|
||||||
FilenameFilter icoFilter = new FilenameFilter() {
|
FilenameFilter icoFilter = new FilenameFilter() {
|
||||||
public boolean accept(File dir, String name) {
|
public boolean accept(File dir, String name) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue