commit | 5e0aed49a874b32b135bbd8da620357764b69ad4 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Mon May 01 14:24:32 2017 -0700 |
committer | Seigo Nonaka <nona@google.com> | Mon May 01 23:23:50 2017 -0700 |
tree | 750d8f742707942055f4838bb2fa5e088a7ba65d | |
parent | 35dcb5f5bb65ba58b97a2418a44e863a8b097033 [diff] |
Fix NPE happens if no source was specified to font element. This also fixes unexpected fallback to the old implemntation by calling allowUnsupportedFont() which is only for backward compatibility. This CL also remove getResourceId() method. Nobody uses this method. Bug: 37865521 Bug: 37844248 Test: am instrument -w -e class android.content.res.cts.ResourcesTest\ android.content.cts/android.support.test.runner.AndroidJUnitRunner Change-Id: I987448add728c53c916f24a2ea8f337be417248f