Merge "Ensure picture isn't recording in createBitmap" into pi-dev am: c4f520ddb6
am: 39636318ca
Change-Id: If964e798cf39c03cb6d2232d103dbd7bf4941d5a
This commit is contained in:
@@ -1229,6 +1229,7 @@ public final class Bitmap implements Parcelable {
|
||||
if (config == null) {
|
||||
throw new IllegalArgumentException("Config must not be null");
|
||||
}
|
||||
source.endRecording();
|
||||
if (source.requiresHardwareAcceleration() && config != Config.HARDWARE) {
|
||||
StrictMode.noteSlowCall("GPU readback");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user