From 331fbdc7e9588018dac28de8b6196653cea1f08b Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Tue, 24 Aug 2010 17:02:09 -0400 Subject: Just disable widgets that come from apps on sd cards, because they don't work anyway. Change-Id: I2d7ef4a63bcbd43547e40c01e997d813cc01e800 --- services/java/com/android/server/AppWidgetService.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'services') diff --git a/services/java/com/android/server/AppWidgetService.java b/services/java/com/android/server/AppWidgetService.java index 8ff3545..731fb22 100644 --- a/services/java/com/android/server/AppWidgetService.java +++ b/services/java/com/android/server/AppWidgetService.java @@ -26,6 +26,7 @@ import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.ActivityInfo; +import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.content.pm.PackageInfo; import android.content.pm.ResolveInfo; @@ -1160,7 +1161,9 @@ class AppWidgetService extends IAppWidgetService.Stub for (int i=0; i