Google will have to provide partial indemnity and bear some of legal costs if Samsung loses an ongoing patent lawsuit against Apple.
The information emerged when Google lawyer James Maccoun explained the firm's mobile application distribution agreement with Samsung in a Northern California district court on Tuesday.
Under the agreement, Android-powered Galaxy devices come with Google applications, and if problems occur with Android technology, Google would "defend and indemnify" Samsung.
The second trial between Samsung and Apple mostly involves Android features such as auto correct and data mining, which helps users search data not only online but also from an embedded database.
Earlier on April 11, Google's Android chief Hiroshi Lockheimer took the stand for Samsung and said his company never copied any iOS features.