Fixed detection of DISABLING state for android 4 - was previously causing an IndexOutOfBounds exception to be thrown.