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

Commit b812925a authored by The Android Open Source Project's avatar The Android Open Source Project Committed by Android Git Automerger
Browse files

am b65d2256: merge from open-source master

Merge commit 'b65d2256'

* commit 'b65d2256':
  Reduced Warnings by adding Type Arguments and removing unused imports
parents 2f42aa54 b65d2256
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;
        }