Don't dispatchDetachedFromWindow() if the View was not attached.
Don't dispatchDetachedFromWindow() if the View was not attached.

Change-Id: I36cb697be76c8c03497284563dc339c5367559c6

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base