MediaCodec: handle a spontaneous error while configuring

Allow the INITIALIZED and UNINITIALIZED state to prevent
a CHECK() from aborting the thread.  This state flexibility
makes the handling for kWhatComponentConfigured similar
to kWhatFlushCompleted.

Bug: 21840990
Change-Id: I57e08cfb146b0b9a355061e4f9ffbe176f213cf6
1 file changed