Don't crash if R.styleable int array is null

Workaround for a very very strange test/AAPT/ART bug that causes
R.styleable int arrays to be null during test instrumentation even
though the values are there in the generated R files and via
reflection.

These changes have no effect on production since those fields should
never be null then but help to prevent tests from failing.

Change-Id: Ic986f6411886ef5d5858ec15f2e9f68826a5dd39
2 files changed
tree: 49e2c205cba27ead86f3302935b2c2a975ec7148
  1. src/
  2. TestCommon/
  3. tests/