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

Commit df1235f6 authored by Wei-Ta Chen's avatar Wei-Ta Chen Committed by The Android Open Source Project
Browse files

am eb949674: Unhide inPurgeable in BitmapFactory.Options.

Merge commit 'eb949674'

* commit 'eb949674':
  Unhide inPurgeable in BitmapFactory.Options.
parents 94afa2e5 eb949674
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -52045,6 +52045,16 @@
 visibility="public"
>
</field>
<field name="inPurgeable"
 type="boolean"
 transient="false"
 volatile="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="inSampleSize"
 type="int"
 transient="false"
+20 −22
Original line number Diff line number Diff line
@@ -18,14 +18,14 @@ package android.graphics;

import android.content.res.AssetManager;
import android.content.res.Resources;
import android.util.TypedValue;
import android.util.DisplayMetrics;
import android.util.TypedValue;

import java.io.BufferedInputStream;
import java.io.FileDescriptor;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.IOException;
import java.io.FileDescriptor;
import java.io.InputStream;

/**
 * Creates Bitmap objects from various sources, including files, streams,
@@ -117,8 +117,6 @@ public class BitmapFactory {
         * explicitly make a copy of the input data, and keep that. Even if
         * sharing is allowed, the implementation may still decide to make a
         * deep copy of the input data.
         *
         * @hide pending API council approval
         */
        public boolean inPurgeable;