OSDN Git Service

Better error message for AVD
authorDoris Liu <tianliu@google.com>
Fri, 2 Jun 2017 00:34:13 +0000 (17:34 -0700)
committerDoris Liu <tianliu@google.com>
Mon, 5 Jun 2017 22:51:18 +0000 (15:51 -0700)
commit03f2fcbd88478636acc9d67b9698b50e5b3eae25
tree187bdcee0879c305af2bed46d3a322e8a87ff2dd
parentfaba1835b4028fccc6f7382a67e406f0b6352445
Better error message for AVD

Moved the error checking to an earlier stage of the AVD, so that
the error message can contain more information.

BUG: 36571432
Test: Follow the repro step in b/36244835, the error message
      is much clear now.

Change-Id: Ibc6a0e666cc4c23c3dfa589755a77a015da2db1c
graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java