From 2d7bbd5d8fc6ccc66bbacd559e8f124ebadebbf5 Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Thu, 13 Dec 2012 09:19:31 +0000 Subject: [PATCH] --- src/com/upc/pbe/upcnews/MainActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/upc/pbe/upcnews/MainActivity.java b/src/com/upc/pbe/upcnews/MainActivity.java index 2eb2aff..522e760 100644 --- a/src/com/upc/pbe/upcnews/MainActivity.java +++ b/src/com/upc/pbe/upcnews/MainActivity.java @@ -51,8 +51,7 @@ public class MainActivity extends Activity implements OnClickListener { buttonDescarrega.setOnClickListener(this); updateURL(); //Si vitamio no està instal·lat, mostrem el missatge d'alerta - PackageManager pm = getPackageManager(); - List apps = pm.getInstalledPackages(0); + List apps = getPackageManager().getInstalledPackages(0); for(int i = 0; i < apps.size(); i++) { if(apps.get(i).applicationInfo.loadLabel(getPackageManager()).toString().equals("Vitamio")) -- libgit2 0.22.2