Using String.Equals for string equality comparison

Closes-Bug: 1306227
Change-Id: Ifa40d5330813a9d67de9d65460356a21ed1a17e0