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

Commit f0565ce7 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Code Review
Browse files

Merge "Reduced Warnings by adding Type Arguments and removing unused imports"

parents ac95a254 10c543da
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;
        }