Merge "Set default reference ID" into pi-dev

am: 2ee3ef0511

Change-Id: I2368a2f925fdcd81c24497112ed745dd8d237657
This commit is contained in:
Todd Kennedy
2018-04-18 15:12:08 -07:00
committed by android-build-merger

View File

@@ -837,7 +837,7 @@ static jint NativeGetResourceArray(JNIEnv* env, jclass /*clazz*/, jlong ptr, jin
ResTable_config selected_config;
selected_config.density = 0;
uint32_t flags = bag->type_spec_flags;
uint32_t ref;
uint32_t ref = 0;
ApkAssetsCookie cookie =
assetmanager->ResolveReference(entry.cookie, &value, &selected_config, &flags, &ref);
if (cookie == kInvalidCookie) {