Reset frameworks/base/ before applying patches