Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10c543da authored by Christian Mehlmauer's avatar Christian Mehlmauer
Browse files

Reduced Warnings by adding Type Arguments and removing unused imports

Change-Id: I42f8f9f9a6a6b271eaeb1a02f6d6567a630936ea
parent dd1880ee
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ import android.os.IBinder;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.util.DisplayMetrics;
import android.util.Log;
import android.util.TypedValue;
import android.widget.RemoteViews;

@@ -194,7 +193,8 @@ public class AppWidgetManager {
     */
    public static final String META_DATA_APPWIDGET_OLD_NAME = "android.appwidget.oldName";

    static WeakHashMap<Context, WeakReference<AppWidgetManager>> sManagerCache = new WeakHashMap();
    static WeakHashMap<Context, WeakReference<AppWidgetManager>> sManagerCache =
        new WeakHashMap<Context, WeakReference<AppWidgetManager>>();
    static IAppWidgetService sService;

    Context mContext;
@@ -219,7 +219,7 @@ public class AppWidgetManager {
            }
            if (result == null) {
                result = new AppWidgetManager(context);
                sManagerCache.put(context, new WeakReference(result));
                sManagerCache.put(context, new WeakReference<AppWidgetManager>(result));
            }
            return result;
        }