MediaMetrics: Avoid creating temporary string

We change our empty string comparison, the expected common case,
to directly check the character array contents, instead of
implicitly constructing a std::string object for comparison.

Bug: 199763036
Test: TreeHugger
Change-Id: Idcb96ff6f6b86a187c4999b37670721c1adaa51d
1 file changed