summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-03-05 23:55:13 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-05 23:55:14 +0000
commit0affc5f3eb0d42376d65410aea4b951d7167ae55 (patch)
treee186564af5b037c8d606c6e80987910ad5798c35 /services
parent8eed9c7e61781128503fc8b7c3cff832b95b227d (diff)
parentf4faeac3525fe1ce3707ab785a1651aec367589d (diff)
downloadframeworks_base-0affc5f3eb0d42376d65410aea4b951d7167ae55.zip
frameworks_base-0affc5f3eb0d42376d65410aea4b951d7167ae55.tar.gz
frameworks_base-0affc5f3eb0d42376d65410aea4b951d7167ae55.tar.bz2
Merge "Cleanup Bitmap JNI attempt #2"
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/AssetAtlasService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/AssetAtlasService.java b/services/core/java/com/android/server/AssetAtlasService.java
index a2c87b9..e6dc1c7 100644
--- a/services/core/java/com/android/server/AssetAtlasService.java
+++ b/services/core/java/com/android/server/AssetAtlasService.java
@@ -291,7 +291,7 @@ public class AssetAtlasService extends IAssetAtlas.Stub {
}
canvas.drawBitmap(bitmap, 0.0f, 0.0f, null);
canvas.restore();
- atlasMap[mapIndex++] = bitmap.mNativeBitmap;
+ atlasMap[mapIndex++] = bitmap.getSkBitmap();
atlasMap[mapIndex++] = entry.x;
atlasMap[mapIndex++] = entry.y;
atlasMap[mapIndex++] = entry.rotated ? 1 : 0;