Re-initialize error after attach

If flag for error after attach is not reinitialized, it may cause
NullPointerException on subsequent onAttachedWindow if error text
was reset to null.

Change-Id: I8976c28a6ca71017e5c4b3f29d4eeeb2eda48c38
Merge "Re-initialize error after attach"
Merge branch 'master' of https://android.googlesource.com/platform/frameworks/base into HEAD