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

Commit 6b3c7757 authored by Sameer Padala's avatar Sameer Padala Committed by Android Git Automerger
Browse files

am 8fd74831: Source change to get code compiling on google3

* commit '8fd74831':
  Source change to get code compiling on google3
parents ab5af008 8fd74831
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ public class AutoInstallsLayout implements WorkspaceLoader {
        mDb = db;
        try {
            return parseLayout(mRes, mLayoutId, screenIds);
        } catch (XmlPullParserException | IOException | RuntimeException e) {
        } catch (Exception e) {
            Log.w(TAG, "Got exception parsing layout.", e);
            return -1;
        }
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ import android.widget.TextView;
 */
public class BubbleTextView extends TextView {

    private static SparseArray<Theme> sPreloaderThemes = new SparseArray<>(2);
    private static SparseArray<Theme> sPreloaderThemes = new SparseArray<Theme>(2);

    private static final float SHADOW_LARGE_RADIUS = 4.0f;
    private static final float SHADOW_SMALL_RADIUS = 1.75f;
+2 −2
Original line number Diff line number Diff line
@@ -130,8 +130,8 @@ public class WidgetPreviewLoader {
    private final PaintCache mDefaultAppWidgetPreviewPaint = new PaintCache();
    private final BitmapFactoryOptionsCache mCachedBitmapFactoryOptions = new BitmapFactoryOptionsCache();

    private final HashMap<String, WeakReference<Bitmap>> mLoadedPreviews = new HashMap<>();
    private final ArrayList<SoftReference<Bitmap>> mUnusedBitmaps = new ArrayList<>();
    private final HashMap<String, WeakReference<Bitmap>> mLoadedPreviews = new HashMap<String, WeakReference<Bitmap>>();
    private final ArrayList<SoftReference<Bitmap>> mUnusedBitmaps = new ArrayList<SoftReference<Bitmap>>();

    private final Context mContext;
    private final int mAppIconSize;