Use public android.system.Int64Ref instead of Int32Ref which is hidden (CorePlatformApi) type of
libcore
Bug: 154796679
Bug: 179703584
Test: Treehugger
Change-Id: I06aa9df929abb94f1d9354f57087a973be597a43
Merged-In: I06aa9df929abb94f1d9354f57087a973be597a43
(cherry picked from commit 734ab4902b)
This commit is contained in:
committed by
Roland Levillain
parent
258ae119c9
commit
af3da459b7
@@ -63,7 +63,7 @@ import android.os.RemoteException;
|
||||
import android.os.ServiceManager;
|
||||
import android.os.SystemClock;
|
||||
import android.os.UserHandle;
|
||||
import android.system.Int32Ref;
|
||||
import android.system.Int64Ref;
|
||||
import android.text.TextUtils;
|
||||
import android.util.EventLog;
|
||||
import android.util.Log;
|
||||
@@ -4050,7 +4050,7 @@ public abstract class ContentResolver implements ContentInterface {
|
||||
// Convert to Point, since that's what the API is defined as
|
||||
final Bundle opts = new Bundle();
|
||||
opts.putParcelable(EXTRA_SIZE, new Point(size.getWidth(), size.getHeight()));
|
||||
final Int32Ref orientation = new Int32Ref(0);
|
||||
final Int64Ref orientation = new Int64Ref(0);
|
||||
|
||||
Bitmap bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(() -> {
|
||||
final AssetFileDescriptor afd = content.openTypedAssetFile(uri, "image/*", opts,
|
||||
|
||||
Reference in New Issue
Block a user