mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
Check game.ico after icon.png
This commit is contained in:
@@ -47,6 +47,13 @@ public class ShortcutActivity extends Activity
|
||||
{
|
||||
}
|
||||
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() {
|
||||
public boolean accept(File dir, String name) {
|
||||
|
||||
Reference in New Issue
Block a user